{{sidenavigation.sidenavigationExpandLabel}}
{{getMsg('Help_YouAreHere')}}: {{page.title}} {{page.title}}
{{$root.getMsg("downLoadHelpAsPdf")}} {{helpModel.downloadHelpPdfDataStatus}}

InStrRev

Returns the rightmost starting position of one string inside another.

Usage:

InStrRev( x, y )
InStrRev( x, y, z )
InStrRev( x, y, z, w )

Parameters:

x The input string to check to see the position of a substring
y The substring to search for in x.
z The starting position to start searching in x 1) OPTIONAL, default is -1, which is the end of the string
w This decides whether to compare case-sensitive(0) or not (1) OPTIONAL, default is 0

Returns:

A number.

Examples:

Crystal Syntax:

InStrRev( "aaabbbaaaaaabbb","bbb" )  // Returns 13.

Basic Syntax:

formula = InStrRev( "aaabbbaaaaaabbb","bBb",7,0 )  // Returns 0

See also:

1)
Since this function searches right to left, only occurrances before this index can be found!
SEP IT AG
sep.ch verwendet Cookies und ähnliche Technologien, um das Nutzererlebnis auf unserer Webseite zu verbessern und unseren Datenverkehr zu analysieren. Mehr Informationen in unserer Datenschutzerklärung


Help - InStrRev