System::Globalization::StringInfo::GetTextElementEnumerator method

StringInfo::GetTextElementEnumerator(const String&) method

Creates enumerator to iterate through string’s characters.

static SharedPtr<TextElementEnumerator> System::Globalization::StringInfo::GetTextElementEnumerator(const String &str)
ParameterTypeDescription
strconst String&String to iterate through.

ReturnValue

Newly created enumerator.

See Also

StringInfo::GetTextElementEnumerator(const String&, int) method

Creates enumerator to iterate through string’s characters starting at the specified index.

static SharedPtr<TextElementEnumerator> System::Globalization::StringInfo::GetTextElementEnumerator(const String &str, int index)
ParameterTypeDescription
strconst String&String to iterate through.
indexintStart index.

ReturnValue

Newly created enumerator.

See Also