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