C string function

Descriptor Equivalent

What it does

sprintf, swprintf

TDes::Format

Writes formatted data to a string

strcat, wcscat, strncat, wcsncat

TDes::Append

Appends data to a string

strcmp, strncmp, wcsncmp

TDesC::Compare

Compares two strings

strcpy, wcscpy, strncpy, wcsncpy

TDes::Copy

Copies string data

strchr, wcschr

TDesC::Locate

Finds a character in a string starting at the beginning

strrchr, wcsrchr

TDesC:: LocateReverse

Finds a character in a string starting at the end

strstr, wcsstr

TDesC::Find

Finds a substring

strtok, wcstok

class TLex

Lexical string analysis

strlen, wcslen

TDesC::Length

Gets the length of a string

strcoll, wcscoll

TDesC::CompareC

Compares strings using locale-specific information