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

UTF8PosP

Returns a pointer to the position where SearchForText starts in SearchInText, or Nil when not found.

Declaration

Source position: lazutf8.pas line 113

function UTF8PosP(

  SearchForText: PChar;

  SearchForTextLen: SizeInt;

  SearchInText: PChar;

  SearchInTextLen: SizeInt

):PChar;

Arguments

SearchForText

  

Pointer to the character(s) to locate in SearchInText.

SearchForTextLen

  

Number of bytes in SearchForText.

SearchInText

  

Pointer to the character values examined in the routine.

SearchInTextLen

  

Number of bytes in SearchInText.

Function result

Pointer to the character value where SearchForText was located in SearchInText, or Nil when not found.


Version 3.2 Generated 2024-02-25 Home