TrimStart()

String::TrimStart() const method

Removes all whitespace characters from beginning of the string.

String System::String::TrimStart() const

Return Value

String with no whitespaces at beginning.

String::TrimStart(char_t) const method

Removes all occurrences of passed character from beginning of the string.

String System::String::TrimStart(char_t ch) const

Arguments

ParameterTypeDescription
chchar_tSymbol to remove.

Return Value

Removal result.

String::TrimStart(const String&) const method

Removes all occurrences of passed characters from beginning of the string.

String System::String::TrimStart(const String &anyOf) const

Arguments

ParameterTypeDescription
anyOfconst String&String of characters to remove.

Return Value

String without removed characters.

String::TrimStart(const ArrayPtr<char_t>&) const method

Removes all occurrences of passed characters from beginning of the string.

String System::String::TrimStart(const ArrayPtr<char_t> &anyOf) const

Arguments

ParameterTypeDescription
anyOfconst ArrayPtr<char_t>&Array of characters to remove.

Return Value

String without removed characters.

See Also