طريقة System::Text::RegularExpressions::Regex::Split
محتويات
[
يخفي
]Regex::Split(const String&) method
يقسم السلسلة حسب تطابقات التعبير النمطي.
ArrayPtr<String> System::Text::RegularExpressions::Regex::Split(const String &input)
| معامل | نوع | الوصف |
|---|---|---|
| input | const String& | String لتقسيم. |
ReturnValue
Array of substrings between matches.
انظر أيضًا
- Typedef ArrayPtr
- Class String
- Class Regex
- Namespace System::Text::RegularExpressions
- Library Aspose.Font for C++
Regex::Split(const String&, int) method
يقسم السلسلة حسب تطابقات التعبير النمطي.
ArrayPtr<String> System::Text::RegularExpressions::Regex::Split(const String &input, int count)
| معامل | نوع | الوصف |
|---|---|---|
| input | const String& | String لتقسيم. |
| count | int | حد عدد السلاسل الفرعية. |
ReturnValue
Array of substrings between matches.
انظر أيضًا
- Typedef ArrayPtr
- Class String
- Class Regex
- Namespace System::Text::RegularExpressions
- Library Aspose.Font for C++
Regex::Split(const String&, int, int) method
يقسم سلسلة الإدخال عددًا محددًا كحد أقصى من المرات إلى مصفوفة من السلاسل الفرعية، في المواضع المحددة بواسطة تعبير نمطي محدد في مُنشئ Regex. يبدأ البحث عن نمط التعبير النمطي من موضع حرف محدد في سلسلة الإدخال.
ArrayPtr<String> System::Text::RegularExpressions::Regex::Split(const String &input, int count, int startat)
| معامل | نوع | الوصف |
|---|---|---|
| الإدخال | const String& | السلسلة التي سيتم تقسيمها. |
| count | int | الحد الأقصى لعدد المرات التي يمكن أن يحدث فيها التقسيم. |
| startat | int | موضع الحرف في سلسلة الإدخال حيث سيبدأ البحث. |
ReturnValue
مصفوفة من السلاسل.
انظر أيضًا
- 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
يقسم السلسلة حسب regexp.
static ArrayPtr<String> System::Text::RegularExpressions::Regex::Split(const String &input, const String &pattern, int count, RegexOptions options=RegexOptions::None, TimeSpan matchTimeout=InfiniteMatchTimeout)
| معامل | نوع | الوصف |
|---|---|---|
| الإدخال | const String& | سلسلة الإدخال. |
| pattern | const String& | نمط التعبير النمطي. |
| count | int | حد عدد Match. |
| الخيارات | RegexOptions | خيارات المطابقة. |
| matchTimeout | TimeSpan | مهلة. |
ReturnValue
Array of strings between matchse.
انظر أيضًا
- 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
يقسم السلسلة حسب regexp.
static ArrayPtr<String> System::Text::RegularExpressions::Regex::Split(const String &input, const String &pattern, RegexOptions options=RegexOptions::None, TimeSpan matchTimeout=InfiniteMatchTimeout)
| معامل | نوع | الوصف |
|---|---|---|
| الإدخال | const String& | سلسلة الإدخال. |
| pattern | const String& | نمط التعبير النمطي. |
| الخيارات | RegexOptions | خيارات المطابقة. |
| matchTimeout | TimeSpan | مهلة. |
ReturnValue
Array of strings between matchse.
انظر أيضًا
- Typedef ArrayPtr
- Class String
- Enum RegexOptions
- Class TimeSpan
- Class Regex
- Namespace System::Text::RegularExpressions
- Library Aspose.Font for C++