LastPos
Purpose Finds the last occurence of a character in a string.
Decln. LastPos(C:char;Str:string):byte;
Returns Byte
Remarks C is the character.
Str is the source string.
Example
VAR
B : BYTE;
BEGIN
B := LASTPOS('J','TECHNOJOCK SOFTWARE!');
END;
The variable B is assigned the value 12.