System::Text::RegularExpressions::Regex::Split Methode
Inhalt
[
Ausblenden
]Regex::Split(const String&) method
Teilt einen String anhand von Regex‑Übereinstimmungen.
ArrayPtr<String> System::Text::RegularExpressions::Regex::Split(const String &input)
| Parameter | Typ | Beschreibung |
|---|---|---|
| input | const String& | String zum Aufteilen. |
ReturnValue
Array of substrings between matches.
Siehe auch
- Typedef ArrayPtr
- Class String
- Class Regex
- Namespace System::Text::RegularExpressions
- Library Aspose.Font for C++
Regex::Split(const String&, int) method
Teilt einen String anhand von Regex‑Übereinstimmungen.
ArrayPtr<String> System::Text::RegularExpressions::Regex::Split(const String &input, int count)
| Parameter | Typ | Beschreibung |
|---|---|---|
| input | const String& | String zum Aufteilen. |
| count | int | Begrenzung der Anzahl von Teilstrings. |
ReturnValue
Array of substrings between matches.
Siehe auch
- Typedef ArrayPtr
- Class String
- Class Regex
- Namespace System::Text::RegularExpressions
- Library Aspose.Font for C++
Regex::Split(const String&, int, int) method
Teilt einen Eingabestring bis zu einer angegebenen maximalen Anzahl von Malen in ein Array von Teilstrings, an den Positionen, die durch einen regulären Ausdruck definiert sind, der im Regex-Konstruktor angegeben wird. Die Suche nach dem regulären Ausdrucksmuster beginnt an einer angegebenen Zeichenposition im Eingabestring.
ArrayPtr<String> System::Text::RegularExpressions::Regex::Split(const String &input, int count, int startat)
| Parameter | Typ | Beschreibung |
|---|---|---|
| Eingabe | const String& | Der zu teilende String. |
| count | int | Die maximale Anzahl, wie oft die Teilung auftreten kann. |
| startat | int | Die Zeichenposition im Eingabestring, an der die Suche beginnt. |
ReturnValue
Ein Array von Strings.
Siehe auch
- Typedef ArrayPtr
- Class String
- Class Regex
- Namespace System::Text::RegularExpressions
- Library Aspose.Font for C++
Regex::Split(const String&, const String&, int, RegexOptions, TimeSpan) method
Teilt einen String anhand von Regexp.
static ArrayPtr<String> System::Text::RegularExpressions::Regex::Split(const String &input, const String &pattern, int count, RegexOptions options=RegexOptions::None, TimeSpan matchTimeout=InfiniteMatchTimeout)
| Parameter | Typ | Beschreibung |
|---|---|---|
| Eingabe | const String& | Eingabezeichenkette. |
| Muster | const String& | Regexp-Muster. |
| count | int | Match Zahlenbegrenzung. |
| Optionen | RegexOptions | Abgleichoptionen. |
| matchTimeout | TimeSpan | Zeitlimit. |
ReturnValue
Array of strings between matchse.
Siehe auch
- Typedef ArrayPtr
- Class String
- Enum RegexOptions
- Class TimeSpan
- Class Regex
- Namespace System::Text::RegularExpressions
- Library Aspose.Font for C++
Regex::Split(const String&, const String&, RegexOptions, TimeSpan) method
Teilt einen String anhand von Regexp.
static ArrayPtr<String> System::Text::RegularExpressions::Regex::Split(const String &input, const String &pattern, RegexOptions options=RegexOptions::None, TimeSpan matchTimeout=InfiniteMatchTimeout)
| Parameter | Typ | Beschreibung |
|---|---|---|
| Eingabe | const String& | Eingabezeichenkette. |
| Muster | const String& | Regexp-Muster. |
| Optionen | RegexOptions | Abgleichoptionen. |
| matchTimeout | TimeSpan | Zeitlimit. |
ReturnValue
Array of strings between matchse.
Siehe auch
- Typedef ArrayPtr
- Class String
- Enum RegexOptions
- Class TimeSpan
- Class Regex
- Namespace System::Text::RegularExpressions
- Library Aspose.Font for C++