Re: FXString::find_last_of
| Newsgroups | gmane.comp.lib.fox-toolkit.user |
|---|---|
| Message-ID | <[email protected]> |
On 2023-01-10 14:26, Enno Rehling wrote: > 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? You're right, that is correct. I'll fix things. -- JVZ