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 for the first existence of .The search operation is performed from the right side of to the left. If the function is unable to find any occurence of in ,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