strlft()  strrtt()

Chapter 5: General Objects and Methods

strrchr()

Description

Searches for the first occurrence of ch, starting on the right of the string. This method is case-sensitive.

Syntax

strrchr(char ch);

Parameter

Description

ch

The character for which to search.

Return value

Integer. Returns the index position of the character, if successful, and -1, if failed.

Usage

Pointer to object

Object

char g;

char g;

g = ‘A’;

g = ’A’;

ps->strrchr(g);

mystring.strrchr(g);





Copyright © 2005. Sybase Inc. All rights reserved. strrtt()

View this book as PDF