[Overview][Types][Procedures and functions][Variables][Index] Reference for unit 'LazUTF8' (#lazutils)

UTF8PosP

Returns the position where SearchInText starts in SearchForText

Declaration

Source position: lazutf8.pas line 113

function UTF8PosP(

  SearchForText: PChar;

  SearchForTextLen: SizeInt;

  SearchInText: PChar;

  SearchInTextLen: SizeInt

):PChar;

Description

If not found it returns nil. Null characters #0 are treated as normal characters.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.