System::Globalization::StringInfo::GetNextTextElement‑metod

StringInfo::GetNextTextElement(const String&) method

Hämtar det första elementet i den angivna strängen.

static String System::Globalization::StringInfo::GetNextTextElement(const String &str)
ParameterTypeBeskrivning
strconst String&Indatasträng.

ReturnValue

Första textelementet.

Se även

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

Hämtar elementet på det angivna indexet i den angivna strängen.

static String System::Globalization::StringInfo::GetNextTextElement(const String &str, int index)
ParameterTypeBeskrivning
strconst String&Indatasträng.
indexintStartindex.

ReturnValue

Text element at the specified index.

Se även