Searches for a substring from the right side of a string.
RAT( <cSearch>, <cString> ) --> nPos
<cSearch> Substring to search for
<cString> Main string
RAT() return the location of beginning position.
This function searches through <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 occurrence of <cSearch> in <cString>, the return value is 0.
? 'RAt( "cde", "abcdefgfedcba" ) = ' +; RAt( "cde", "abcsefgfedcba" )
Library is rtl
AT(), SUBSTR(), RIGHT()