Method | Description | |
---|---|---|
FormatToString ( object value, ToString toString ) : string |
Converts the given object to a string, formatting appropirate null/undefined/empty-string versions if the variable is in any of those states.
|
|
HasValue ( string value ) : bool |
Checks the string to make sure it is not null, undefines, empty, or just white-space.
|
|
IsCapital ( string value ) : bool |
Determines if the specified value is in capitals.
|
|
RemoveEnd ( string text, string remove ) : string |
Removes the specified text from the end of a string if it's present (not case sensitive).
|
|
RemoveStart ( string text, string remove ) : string |
Removes the specified text from the start of a string if it's present (not case sensitive).
|
|
StripPath ( string url ) : string |
Removes the preceeding path of a URL returning just the end segment.
|
|
ToCamelCase ( string value ) : string |
Converts the given string to camelCase.
|
|
ToSentenceCase ( string value ) : string |
Converts the given string to SentenceCase.
|
Method | Description | |
---|---|---|
FormatToString ( object value ) : string |
public FormatToString ( object value, ToString toString ) : string | ||
value | object | The value to convert. |
toString | ToString | Function that performs the conversion to a string. |
return | string |
public HasValue ( string value ) : bool | ||
value | string | The value to examine. |
return | bool |
public IsCapital ( string value ) : bool | ||
value | string | The value to examine. |
return | bool |
public RemoveEnd ( string text, string remove ) : string | ||
text | string | The string to effect. |
remove | string | The text to remove. |
return | string |
public RemoveStart ( string text, string remove ) : string | ||
text | string | The string to effect. |
remove | string | The text to remove. |
return | string |
public StripPath ( string url ) : string | ||
url | string | The URL to process. |
return | string |
public ToCamelCase ( string value ) : string | ||
value | string | The value to convert. |
return | string |
public ToSentenceCase ( string value ) : string | ||
value | string | The value to convert. |
return | string |