Method | Description | |
---|---|---|
CombinePath ( this src ) : string |
Combines two or more strings into a valid file/folder path.
|
|
CombineUrl ( this src ) : string |
Combines two or more strings into a URL.
|
|
IsInt ( this value ) : bool |
Identifies whether or not a string can be converted to an
|
|
IsNumber ( this value ) : bool |
Identifies whether or not a string can be converted to a number
|
|
Mash ( this src, string seperator = "," ) : string |
Joins an array of strings into one.
|
|
Nullify ( this value ) : string |
Converts an empty String to null
|
|
SafeToInt32 ( this value, int defaultValue ) : int |
Safely converts a string to an int.
|
|
TitleCase ( this src ) : string |
Capitalizes the first letter of each word in the string. See http://tiny.cc/wzawkw |
|
ToFile ( this str, string filename ) : bool |
Saves the string to a file.
|
public static CombinePath ( this src ) : string | ||
src | this | |
return | string |
public static CombineUrl ( this src ) : string | ||
src | this | |
return | string |
public static IsInt ( this value ) : bool | ||
value | this | The |
return | bool |
public static IsNumber ( this value ) : bool | ||
value | this | The |
return | bool |
public static Mash ( this src, string seperator = "," ) : string | ||
src | this | |
seperator | string | |
return | string |
public static Nullify ( this value ) : string | ||
value | this | The |
return | string |
public static SafeToInt32 ( this value, int defaultValue ) : int | ||
value | this | |
defaultValue | int | A default value to return if the cannot be converted to an int. |
return | int |
public static TitleCase ( this src ) : string | ||
src | this | |
return | string |
public static ToFile ( this str, string filename ) : bool | ||
str | this | |
filename | string | |
return | bool |