12-11-2007, 08:59 PM
now those are just samples the text will be different each time and unknown meaing the nuber of charcters could be different each time basically i'm getting the text off a window and don't know exactly what the text will be or how many characters are in it till the function is run.also the text may have other characters such as -,:;*or () before the (test text2) that help you out any? the example u gave works fine for the example i gave but the problem is the number of characters and the text will be different everytime