Frank Wunderlich:

> i've tried it like this:
> 
> static unsigned int LengthWord(const char *word, char otherSeparator) {
>     // Find a '('. If that fails go to the end of the string.
>     const char *endWord;

   endWord should be initialised to 0 so that the default '(' still
works but that shouldn't affect your case. I would have expected your
code to work.

   Neil

_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to