How to split a text in a textbox, by length?
Hello and sorry for my English if a make mistake
, i would like to cut a text with a length parameter, and not a special characters.
For example, i have this text :
Aujourd'hui, je suis allé chercher un livre.
And i would like have this sentence (with a parameter of "13" (for 13 characters for example)), when i click on a button :
Aujourd'hui j
e suis allé c
hercher un li
vre.
Peharps an actionscript3 like this logic:
text1.text = (line1.length = 13) + /n + line2.length = 13) + /n...
There's not a special characters, just the length because the text is unknow...
Thanks for your help
I continue to looking for a solution ![]()
