I'm working on a project that loads text dynamically via XML. This part works fine. However, I would like to be able to insert graphical elements between some of the items in the text, based on triggers that appear in the text. For example, if we had the following text, the "A1" would indicate that a graphic should be inserted at that particular location in the text. Obviously the idea is not to show the A1, as it is merely a placeholder.
"As you grow older, you learn what A1 not to worry about."
Can anyone suggest a process for achieving this? I would like to be able to include several unique markers(ie A1,A2) within a single paragraph of text, perhaps using an array.