Hello!
I am trying to count the characters in a string.
D4_frame_txt.[COLOR=#993300]text[/COLOR]=xmlList[COLOR=#000000][[/COLOR]j[COLOR=#000000]][/COLOR].[COLOR=#993300]toString[/COLOR]COLOR=#000000[/COLOR];
D4_frame_txt.[COLOR=#993300]maxChars[/COLOR]=[COLOR=#000000]400[/COLOR];
[COLOR=#993300]if[/COLOR] COLOR=#000000[/COLOR] [COLOR=#000000]{[/COLOR]
[COLOR=#F000F0]//on overflow [/COLOR]
[COLOR=#993300]trace[/COLOR]COLOR=#000000[/COLOR];
[COLOR=#000000]}[/COLOR]
[COLOR=#993300]else[/COLOR]
[COLOR=#000000]{[/COLOR]
[COLOR=#F000F0]// on non-overflow[/COLOR]
[COLOR=#000000]}
[/COLOR]I get no compiler error message but the count doesnt seem to work. Never overflow.
Thank you for the help!
Krgds