C# Class ConsoleMenu.MenuUtil

Show file Open project: nerai/CMenu Class Usage Examples

Public Methods

Method Description
SplitFirstWord ( string &from ) : string

Split the first word, separated by whitespace, from the rest of the string and return it.

Method Details

SplitFirstWord() public static method

Split the first word, separated by whitespace, from the rest of the string and return it.
public static SplitFirstWord ( string &from ) : string
from string /// String from which to select the first word. This parameter will be changed to exclude the /// split off word. ///
return string