[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
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.

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson