StrCmpStartA (FUN)

FUNCTION StrCmpStartA : INT

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

Return values:

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)

InOut:

Scope

Name

Type

Comment

Return

StrCmpStartA

INT

Input

pString

CharBufferPtr

Pointer to the string to check.

pPrefix

CharBufferPtr

Pointer to the prefix to find.