strrindex

Description

Find the last occurence of a specific character in a string held in RAM

Definition

char *strrindex(char *str, char val)

Library

LIB/str_lib.bas

Usage

On entry:
str is a pointer to a RAM buffer holding the string to be searched
val is a character to search for
On exit:
The return value is a pointer into the string str which is the address of the last match of the character val. If there is no match the return value is 0