help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'sysutils' (#rtl)

LastDelimiter

Return the last occurrence of a set of delimiters in a string.

Declaration

Source position: sysstrh.inc line 197

function LastDelimiter(

  const Delimiters: String;

  const S: String

):Integer;

Description

LastDelimiter returns the last occurrence of any character in the set Delimiters in the string S .

Example

Program example88;

{ This program demonstrates the LastDelimiter function }

uses SysUtils;

begin
  Writeln(LastDelimiter('\.:','c:\filename.ext'));
end.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505