C# Class vlko.core.Tools.StringTool

Custom string utility methods.
Datei anzeigen Open project: vlko/vlko

Public Methods

Method Description
SplitUpperCase ( string source ) : string[]

Parses a camel cased or pascal cased string and returns an array of the words within the string.

Truncate ( this source, int length ) : string

Get a substring of the first N characters.

Method Details

SplitUpperCase() public static method

Parses a camel cased or pascal cased string and returns an array of the words within the string.
public static SplitUpperCase ( string source ) : string[]
source string
return string[]

Truncate() public static method

Get a substring of the first N characters.
public static Truncate ( this source, int length ) : string
source this
length int
return string