The rat(cstring,string,start,end) function seems to be ignoring the
start position. Anyone else having this problem?
Thanks,
Ted
"Ted" <ted.ko...@gmail.com> wrote in message
news:17544f01-37cf-4a6f...@x19g2000prg.googlegroups.com...
...
> The rat(cstring,string,start,end) function seems to
> be ignoring the start position. Anyone else having
> this problem?
I agree. Report it as a bug.
Program...
procedure main
cSearch := "1234578901234567890"
? rat( "89", cSearch, len(cSearch), 1 )
? rat( "89", cSearch, 12, 1 )
return
... returns "17" for both print statements. I am running a
fairly old version of xHarbour too (Jan'06 or '07 I think).
David A. Smith