StrCaseCmpStartA (FUN)

FUNCTION StrCaseCmpStartA : INT

Does a case insensitive comparison of the start of the string and the prefix

InOut:

Scope

Name

Type

Comment

Return

StrCaseCmpStartA

INT

  • 0 -> start of the string and prefix are equal

  • -1 -> start of the string and prefix are NOT equal

  • -2 -> Error: An invalid string (ie. Null-Pointer is given)

Input

pString

CharBufferPtr

Pointer to the string to check.

pPrefix

CharBufferPtr

Pointer to the prefix to find.