FXString::find_last_of
Enno Rehling <[email protected]>
| Newsgroups | gmane.comp.lib.fox-toolkit.user |
|---|---|
| Message-ID | <[email protected]> |
In Fox 1.6.57, there are several versions of this function, among them: FXint find_last_of(const FXchar* set,FXint pos=2147483647) const; FXint find_last_of(const FXString& set,FXint pos=2147483647) const; FXint find_last_of(FXchar c,FXint pos=0) const; Note how the default for pos is different for the single-character version, and it doesn't behave the same, since pos=0 causes it to search backwards from the beginning of the string and return -1 when not explicitly given a pos argument. Surely this must be unintentional? Enno.