TextHelperSplitByString Method |
Splits the given string by a defined string separator
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax public static string[] SplitByString(
string text,
string separator,
int minItems = 0
)
Parameters
- text
- Type: SystemString
Text to split - separator
- Type: SystemString
Separator - minItems (Optional)
- Type: SystemInt32
If defined, the output array is filled with empty (null) items up to the given count
Return Value
Type:
StringSee Also