Pond Electronics - Home of the µFlash876 & µFlash876B embedded controllers, µStack & µConnect Bus.

String Module

Provides basic string support for the µCore.

strlen

WORD strlen(char *s);

Returns the number of characters in a string excluding the terminating null.

strcat

void strcat(char *dest,char *src);

Concatenates a copy of string src to the end of string dest. Pointers src & dest should not be the same.

strcpy

void strcpy(char *dest,char *src);

Copy the contents of string src to string dest. Pointers src & dest should not be the same.

strcmp

BYTE strcmp(char *a,char *b);

Perform a case sensitive comparison of strings a & b. Return 0 if they match, else return non-zero. Note that this function differs from the standard C version as it performs a simple, rather than a lexicographic comparison.

strxcmp

BYTE strxcmp(char *a,char *b);

Perform a case insensitive comparison of strings a & b. Return 0 if they match, else return non-zero.

strtoupper

void strtoupper(char *s);

Convert the string s to upper case.

strtolower

GLOBAL void strtolower(char *s);

Converts the string s to lower case.


Home | Products | Technical Info | How to Order | Contact Us | Links