MrSandman666
Programmer
Hey, it's me again!
This time I'm having problems to find out whether a string actually contains any information. Sometimes I have empty strings of various lenght that contain nothing but blanks. Is there a possibility to test this? strlen() counts blank spaces, so that doesn't work unless there is a way to remove all whitespaces (or only starting and trailing ones). Or is there a function that tests for any 'real' characters in a string?
Thanx in advance (...again...)
This time I'm having problems to find out whether a string actually contains any information. Sometimes I have empty strings of various lenght that contain nothing but blanks. Is there a possibility to test this? strlen() counts blank spaces, so that doesn't work unless there is a way to remove all whitespaces (or only starting and trailing ones). Or is there a function that tests for any 'real' characters in a string?
Thanx in advance (...again...)