Contextual Substitutions -- How?

How do I do contextual substitutions? Specifically, I’m working on a cursive font that needs to occasionally substitute letters so that the bearings match.

There is a tutorial for that coming up. Stay tuned and keep an eye on the Tutorials section.

EDIT: it is online now. Have fun.