How to find the position of a specific word in multiline text?

How to find the position of a specific word in multiline text?

I wanna find and then create a display.newLine.

like this:

blah blah blah. Have

a nice day~! blah bla

h blah blah blah blah

If you mean <x,y> position, not possible, unless you have all of the metrics for each letter in the font.

Text (multi-line or otherwise) is a single display object.  There are no letters as objects.

The easiest way I can see to do this is to use a bitmapped font and library.  In that case each letter can be a discrete object, or at least each word.

If you mean <x,y> position, not possible, unless you have all of the metrics for each letter in the font.

Text (multi-line or otherwise) is a single display object.  There are no letters as objects.

The easiest way I can see to do this is to use a bitmapped font and library.  In that case each letter can be a discrete object, or at least each word.