Location of a char in a String

I’m currently having trouble figuring out how to replace certain text in my GUI with a button. I’m parsing it out correctly, and getting the correct dimensions, but I can’t for the life of me figure out how to find the X and Y coordinate of the first character that I’m parsing out. Any help or point in the right direction would be greatly appreciated.

Result: http://dl.dropbox.com/u/18867763/Unity/StoryTeller/WebPlayer/WebPlayer.html

var buttonLocationRect =
Engine.Skin.textArea.GetCursorPixelPosition(Engine.BoxRect), new GUIContent(infoString),

Is that what these functions are for?

I don’t know the answer to that question.

It sounds like these functions might do what you want, but the documentation is so brief it’s hard to tell.