a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Libraries:
 utility.library
  AddNamedObject
  AllocNamedObjectA
  AllocateTagItems
  Amiga2Date
  ApplyTagChanges
  AttemptRemNamedObject
  CallHookPkt
  CheckDate
  CloneTagItems
  Date2Amiga
  FilterTagChanges
  FilterTagItems
  FindNamedObject
  FindTagItem
  FreeNamedObject
  FreeTagItems
  GetTagData
  GetUniqueID
  MapTags
  NamedObjectName
  NextTagItem
  PackBoolTags
  PackStructureTags
  RefreshTagItemClones
  ReleaseNamedObject
  RemNamedObject
  SDivMod32
  SMult32
  SMult64
  Stricmp
  Strnicmp
  TagInArray
  ToLower
  ToUpper
  UDivMod32
  UMult32
  UMult64
  UnpackStructureTags
Include
GuruMeditation
Docs » Autodocs » utility.library » Strnicmp

NAME

	Strnicmp -- length-limited case-insensitive string compare. (V37)

SYNOPSIS

	result = Strnicmp(string1,string2,length);
D0 A0 A1 D0
LONG Strnicmp(STRPTR,STRPTR,LONG);

FUNCTION

	This function compares two strings, ignoring case using a generic
case conversion routine. If the strings have different lengths,
the shorter is treated as if it were extended with zeros. This function
never compares more than 'length' characters.

INPUTS

	string1, string2 - strings to be compared
length - maximum number of characters to examine

RESULT

	result - relationship between string1 and string2
<0 means string1 < string2
=0 means string1 = string2
>0 means string1 > string2

NOTES

	Whenever locale.library is installed in a system, this function is
replaced by language-specific code. This means that depending on
which language the user has currently selected, identical pairs of
strings may return different values when passed to this function.
This fact must be taken into consideration when using this function.

SEE ALSO

Stricmp(), locale.library/StrnCmp()

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

Tristar & Red Sector Inc.

FC
RBS
TRSI
RSI

Comments:

$VER: d0.se 1.14 Copyright © 2011-2024 Tobias Geijersson support at d0 dot se