CliStringUtil.SplitWords Method
Definition
- Namespace
- DotMake.CommandLine
- Assembly
- DotMake.CommandLine.dll
Splits a string in to words.
public static string[] SplitWords(string value, bool keepSpaces = false)
Parameters
valuestringA string instance.
keepSpacesboolWhether to keep a single space between words if there were any whitespace or punctuation in the original.
Returns
- string[]
An array of strings.