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)
ParameterTypBeskrivning
strconst String&Indata-strä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)
ParameterTypBeskrivning
strconst String&Indata-sträng.
indexintStartindex.

ReturnValue

Text element at the specified index.

Se även