String manipulation

String manipulation

 

Function name

Description

Function name

Description

ispacked();

Determine whether a string is packed or unpacked.

memcpy();

Copy bytes from one location to another.

memset();

Copies the value to the first n characters of the string pointed to, by the argument str[].

snprintf();

Convert values to text.

strcat();

Concatenate two strings.

strcmp();

Compare two strings.

strcopy();

Create a copy of a string.

strncopy();

Create a copy of a defined length string.

strdel();

Delete characters from the string.

strequal();

Compare two strings.

strfind();

Search for a sub-string in a string.

strins();

Insert a sub-string in a string.

strlen();

Return the length of a string.

strmid();

Extract a range of characters from a string.

strpack();

Create a “packed” copy of a string.

strunpack();

Create an “unpacked” copy of a string.

strval();

Convert from text (string) to numbers.

valstr();

Convert a number to text (string)