Andre Poenitz <[EMAIL PROTECTED]> writes:

| >   Silly question, what is that string::npos?
| 
| This is the index of the last character in the string plus one.
| At least I think so ;-)

You thought wrong.
It is the maximum amount of chars possible amount of chars in a string
+ 1. It is often the value returned from string::find functions to say
"not found". It can often also be used in string::funcs that takes a
length, then meaning "the rest of the string"

        Lgb

Reply via email to