StringExtensions

Namespace: WellFired.Command.Unity.Runtime

Description

Public Static Methods

IEnumerable< string > Split ( this string str, Func< char, bool > controller )
IEnumerable< string > SplitCommandLine ( string commandLine )
string TrimMatchingQuotes ( this string input, char quote )

Breakdown

  • IEnumerable< string > Split ( this string str, Func< char, bool > controller )
  • IEnumerable< string > SplitCommandLine ( string commandLine )

    Description

    When passed a command, this method will split it into it’s individual components.

  • string TrimMatchingQuotes ( this string input, char quote )

    Description

    This method will trim matching quotes

    Parameters

    input The string to trim
    quote The character that represents the quote