System::String::FromAscii method

String::FromAscii(const char *) method

Creates String from ASCII string.

static String System::String::FromAscii(const char *asciiStr)
ParameterTypeDescription
asciiStrconst char *Pointer to null-terminated string encoded using ASCII codepage.

ReturnValue

String object representing passed string.

See Also

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

Creates String from ASCII string.

static String System::String::FromAscii(const char *asciiStr, int len)
ParameterTypeDescription
asciiStrconst char *Pointer to string encoded using ASCII codepage.
lenintNumber of characters to handle.

ReturnValue

String object representing passed string.

See Also

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

Creates String from ASCII string.

static String System::String::FromAscii(const std::string &asciiStr)
ParameterTypeDescription
asciiStrconst std::string&ASCII-encoded string.

ReturnValue

String object representing passed string.

See Also