I have two strings, one containing letters and spaces, and another containing letters, spaces and underscores.
Even if both strings are exactly the same length, the reported length given by strlen is incorrect.
For testing I used these two strings:
This is a long Phrase
and blanked out some of the letters with underscores to get:
Expand|Select|Wrap|Line Numbers
- ___s __ _ ____ ______
Now, there are 4 spaces in the second phrase, and this coincidentally how far off the length is...
Any thoughts?
Ray