Sign in Join
FPDoc Onlineexperiment

UTF8PosP function

In unit LazUTF8

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

Declaration

pascal
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.

Description

Nothing more than the line above yet.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.