3.1.4. String manipulation

Table 3.4 contains a summary of the string manipulation macros.

Table 3.4. String manipulation

DescriptionMacro

Concatenates two strings.

strcat on strcat

Locates the first occurrence of a character in a string.

strchr on strchr

Compares two strings.

strcmp on strcmp

Copies a string.

strcpy on strcpy

Performs string comparison without case distinction.

stricmp on stricmp

Returns string length.

strlen on strlen

Performs limited comparison of two strings.

strncmp on strncmp
Copyright © 2002-2006 ARM Limited. All rights reserved.ARM DUI 0175H
Non-Confidential