Take the 2-minute tour ×

I've got a string like this: aXYbXYc, and need to replace the XY substring with a right arrow: a $\to$ b $\to$ c.

Is there any function (also provided by external packages) to help me do that?

share|improve this question
add comment

1 Answer

up vote 10 down vote accepted




share|improve this answer
This is exactly what I was looking for, thanks! –  peoro Jan 10 '11 at 14:29
add comment

Your Answer


