System::Text::RegularExpressions::Regex::Split method
inhoud
[
verbergen
]Regex::Split(const String&) method
Splitst een string op regex‑overeenkomsten.
ArrayPtr<String> System::Text::RegularExpressions::Regex::Split(const String &input)
| Parameter | Type | Beschrijving |
|---|---|---|
| input | const String& | String om te splitsen. |
ReturnValue
Array of substrings between matches.
Zie ook
- Typedef ArrayPtr
- Class String
- Class Regex
- Namespace System::Text::RegularExpressions
- Library Aspose.Page for C++
Regex::Split(const String&, int) method
Splitst een string op regex‑overeenkomsten.
ArrayPtr<String> System::Text::RegularExpressions::Regex::Split(const String &input, int count)
| Parameter | Type | Beschrijving |
|---|---|---|
| input | const String& | String om te splitsen. |
| count | int | Aantal subreeksen limiet. |
ReturnValue
Array of substrings between matches.
Zie ook
- Typedef ArrayPtr
- Class String
- Class Regex
- Namespace System::Text::RegularExpressions
- Library Aspose.Page for C++
Regex::Split(const String&, int, int) method
Splitst een invoertekenreeks een opgegeven maximum aantal keren in een array van subreeksen, op de posities die zijn gedefinieerd door een reguliere expressie opgegeven in de Regex constructor. Het zoeken naar het patroon van de reguliere expressie begint op een opgegeven tekenpositie in de invoertekenreeks.
ArrayPtr<String> System::Text::RegularExpressions::Regex::Split(const String &input, int count, int startat)
| Parameter | Type | Beschrijving |
|---|---|---|
| invoer | const String& | De te splitsen tekenreeks. |
| count | int | Het maximale aantal keren dat de splitsing kan plaatsvinden. |
| startat | int | De tekenpositie in de invoertekenreeks waar het zoeken begint. |
ReturnValue
Een array van tekenreeksen.
Zie ook
- Typedef ArrayPtr
- Class String
- Class Regex
- Namespace System::Text::RegularExpressions
- Library Aspose.Page for C++
Regex::Split(const String&, const String&, int, RegexOptions, TimeSpan) method
Splitst een string op 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 | Type | Beschrijving |
|---|---|---|
| invoer | const String& | Invoertekenreeks. |
| patroon | const String& | Regexp-patroon. |
| count | int | Match aantal limiet. |
| opties | RegexOptions | Opties voor vergelijken. |
| matchTimeout | TimeSpan | Time-out. |
ReturnValue
Array of strings between matchse.
Zie ook
- Typedef ArrayPtr
- Class String
- Enum RegexOptions
- Class TimeSpan
- Class Regex
- Namespace System::Text::RegularExpressions
- Library Aspose.Page for C++
Regex::Split(const String&, const String&, RegexOptions, TimeSpan) method
Splitst een string op regexp.
static ArrayPtr<String> System::Text::RegularExpressions::Regex::Split(const String &input, const String &pattern, RegexOptions options=RegexOptions::None, TimeSpan matchTimeout=InfiniteMatchTimeout)
| Parameter | Type | Beschrijving |
|---|---|---|
| invoer | const String& | Invoertekenreeks. |
| patroon | const String& | Regexp-patroon. |
| opties | RegexOptions | Opties voor vergelijken. |
| matchTimeout | TimeSpan | Time-out. |
ReturnValue
Array of strings between matchse.
Zie ook
- Typedef ArrayPtr
- Class String
- Enum RegexOptions
- Class TimeSpan
- Class Regex
- Namespace System::Text::RegularExpressions
- Library Aspose.Page for C++