CliStringUtilSplitWords Method
Splits a string in to words.
Namespace: DotMake.CommandLineAssembly: DotMake.CommandLine (in DotMake.CommandLine.dll) Version: 2.6.7
public static string[] SplitWords(
string value,
bool keepSpaces = false
)
- value String
- A string instance.
- keepSpaces Boolean (Optional)
- Whether to keep a single space between words if there were any whitespace or punctuation in the original.
StringAn array of strings.