Hello,

          I need your help to know if the behavior of the function is
correct.  If it is correct then I can use your help with a work around to
identifying a space as the last character of a string.  Your help is greatly
appreciated. 

I need to read the value entered by a user one character at a time so that
on each keystroke a search is perform on a table.  Everything work well
unless the search involved more than one word.  Function (SCLOC(String,' '))
does not work if the space is the last character of the String.

Examples:

String = 'RBASE Application'

(SCLOC(.String,' ')) = 6

 

String = 'RBase '

(SCLOC(.String,' ')) = 0

 

When a space is the last character of the string it is not recognized by
SLOC, SLOCP, or SLOCI.  I am not sure if this is the correct behavior of
these functions.  Any Blues Clues?

 

I am using:

R:BASE eXtreme 9.5 (32), U.S. Version, Build: 9.5.5.21111

 

Thank you,

Manuel de Aguiar V

Reply via email to