FromAscii()

String::FromAscii(const char *) method

Creates String from ASCII string.

static String System::String::FromAscii(const char *asciiStr)

Arguments

ParameterTypeDescription
asciiStrconst char *Pointer to null-terminated string encoded using ASCII codepage.

Return Value

String object representing passed string.

String::FromAscii(const char *, int) method

Creates String from ASCII string.

static String System::String::FromAscii(const char *asciiStr, int len)

Arguments

ParameterTypeDescription
asciiStrconst char *Pointer to string encoded using ASCII codepage.
lenintNumber of characters to handle.

Return Value

String object representing passed string.

String::FromAscii(const std::string&) method

Creates String from ASCII string.

static String System::String::FromAscii(const std::string &asciiStr)

Arguments

ParameterTypeDescription
asciiStrconst std::string&ASCII-encoded string.

Return Value

String object representing passed string.

See Also