Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Harbour Version 0.37 (c) reference Guid - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

RAT()

Searches for a substring from the right side of a string.
---------------------------------------------------------------------------------

 Syntax

        RAT(<cSearch>,<cString>) --> nPos  

 Arguments

        <cSearch>    Substring to search for      

        <cString>    Main string    

 Returns

        RAT()   return the location of beginnig position.    

 Description

      This function searches througt <cString> for the first existence  of
      <cSearch>.The search operation is performed from the right side  of
      <cString> to the left. If the function is unable to find any
      occurence of <cSearch> in <cString>,the value of the function will
      be 0.

 Examples

      QOUT( "rat( 'cde', 'abcdefgfedcba' ) = '" +;
      rat( 'cde', 'abcsefgfedcba' ) + "'" )
  

Status

      Ready

 Compliance

      Will not work with a search string > 64 KB on some platforms

 Platforms

      All

 Files

      Library is rtl



See Also: AT() SUBSTR() RIGHT()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson