I an using fivewin 2404 and xHarbour build 20240413 .. This code returns the same value
- Code: Select all Expand view RUN
xValue := "Amy Halady"
cName := alltrim( xValue )
msginfo( cName ) // Amy Halady
nLen := len( cName )
msginfo( nLen ) //10
nAt := at(" ", cName )
msginfo( nAT ) // 4
nRat := rat( " ",cName )
msginfo( nRat ) // 4
Rat() is supposed to count backwards and the above rat() function returns 4 but should return 6 .. Hopefully someone can compile this simple code and verify my results
Thanks
Rick Lipkin