contents   index   previous   next



Methods for strings

Clib.memchr()

Searches a byte array.

Clib.memcmp()

Compares two byte arrays.

Clib.memcpy()

Copies from one byte array to another.

Clib.memmove()

Moves from one byte array to another.

Clib.memset()

Copies character to byte array.

 

Clib.rsprintf()

Returns formatted string.

Clib.sprintf()

Formatted output to a string.

Clib.sscanf()

Formatted input from a string.

Clib.strcat()

Concatenates strings.

Clib.strchr()

Searches a string for a character.

Clib.strcmp()

Compares two strings.

Clib.strcmpi()

Case-insensitive compare of two strings.

Clib.strcpy()

Copies one string to another.

Clib.strcspn()

Searches string for first character in a set of characters.

Clib.stricmp()

Case-insensitive compare of two strings.

Clib.strlen()

Gets the length of a string.

Clib.strlwr()

Converts a string to lowercase.

Clib.strncat()

Concatenates bytes of one string to another.

Clib.strncmp()

Compares part of two strings.

Clib.strncmpi()

Case-insensitive compare of parts of two strings.

Clib.strncpy()

Copies bytes from one string to another.

Clib.strnicmp()

Case-insensitive compare of parts of two strings.

Clib.strpbrk()

Searches string for character from a set of characters.

Clib.strrchr()

Searches string for the last occurrence of a character.

Clib.strspn()

Searches string for character not in a set of characters.

Clib.strstr()

Searches a string for a substring.

Clib.strstri()

Case insensitive version of Clib.strstr.

Clib.strtod()

Converts a string to a floating-point value.

Clib.strtok()

Searches a string for delimited tokens.

Clib.strtol()

Converts a string to an integer value.

Clib.strupr()

Converts a string to uppercase.

 

Clib.toascii()

Converts to ASCII.

Clib.tolower()

Converts to lowercase.

Clib.toupper()

Converts to uppercase.

 

Clib.vsprintf()

Formatted output to string using variable args.

Clib.vsscanf()

Formatted input from a string.

 

String charAt()

Returns a character in a string.

String charCodeAt()

Returns a unicode character in a string.

String concat()

Concatenate a string.

String indexOf()

Returns index of first substring in a string.

String lastIndexOf()

Returns index of last substring in a string.

String localeCompare()

Compare string using local settings.

String slice()

Get a substring from a string.

String split()

Splits a string into an array of strings.

String substring()

Retrieves a section of a string.

String toLocaleLowerCase()

Returns lowercase string using local settings.

String toLocaleUpperCase()

Returns uppercase string using local settings.

String toLowerCase()

Converts a string to lowercase.

String toUpperCase()

Converts a string to uppercase.

 

String.fromCharCode()

Creates a string from character codes.

 

item.jsh - delimited strings/arrays

 

string.jsh - more for strings

 

 


String properties