So I don't want to create a book out of my problem, here it is: I have a string, say 'Hello [c:yello]friend[c:default]! How are you?'. That string has tags (starts with [ and ends with ]) inside of it for colors. Now, I'm trying to make a draw_text_ext that ignores said tags, but manually. Basically I want my script to return a ds_list of 'lines'. So I want to wrap the text 'Hello friend! How are you' but after it's wrapped, put back the tags where they belong. I've tried different ways but always end up not being able to track where the tags go or calculating the wrong number of characters (so it's not ignoring the tags like I want) Anyone could point me in different ways of tackling this? I'm just very frustrated by this small issue. --- EDIT: I ended up implementing a complex structure of data to do this. The simple 'wrap ignoring substring' logic just didn't make sense I suppose. Thanks for everyone for trying to help me.