22912Re: StrPosRight bug in NTP 7.0?
- Jul 6 5:01 AM--- In email@example.com, "anachromat" <tim.peters@...> wrote:
>Same bug in #^$StrPosMid$.
> Downloaded NTP 7.0 today, and some old clips went crazy. Tracked it down to this:
> ^!Info ^$StrPosRight("X";"abcXdefXghi";False)$
> That displays 4 when I run it (the index of the leftmost X). I expected it to display 8 (the index of the rightmost X). In other words, StrPosRight is acting the same as StrPos now.
Different start positions are returning the same value. As Tim wrote, it behaves as ^$StrPos$ too.
NT 7.0 Pro Final Release
- << Previous post in topic Next post in topic >>