Method | Description | |
---|---|---|
Capitalize ( string text ) : string | ||
Capitalizewords ( string text ) : string | ||
Downcase ( string text ) : string | ||
Handleize ( string text ) : string | ||
LStrip ( string text ) : string | ||
Pluralize ( string single, string multiple, int number ) : string | ||
RStrip ( string text ) : string | ||
Remove ( string remove, string text ) : string | ||
RemoveFirst ( string remove, string text ) : string | ||
Replace ( string match, string replace, string text ) : string | ||
ReplaceFirst ( string match, string replace, string text ) : string | ||
Split ( string pattern, string text ) : IEnumerable | ||
StartsWith ( string start, string text ) : bool | ||
Strip ( string text ) : string | ||
StripNewlines ( string text ) : string | ||
Truncate ( int length, string text ) : string | ||
Truncatewords ( int count, string text ) : string | ||
Upcase ( string text ) : string |
Method | Description | |
---|---|---|
Register ( ScriptObject builtins ) : void | ||
Slice ( TemplateContext context, |
||
Slice ( string text, int start, int length = -1 ) : string |
public static Capitalize ( string text ) : string | ||
text | string | |
return | string |
public static Capitalizewords ( string text ) : string | ||
text | string | |
return | string |
public static Downcase ( string text ) : string | ||
text | string | |
return | string |
public static Handleize ( string text ) : string | ||
text | string | |
return | string |
public static LStrip ( string text ) : string | ||
text | string | |
return | string |
public static Pluralize ( string single, string multiple, int number ) : string | ||
single | string | |
multiple | string | |
number | int | |
return | string |
public static RStrip ( string text ) : string | ||
text | string | |
return | string |
public static Remove ( string remove, string text ) : string | ||
remove | string | |
text | string | |
return | string |
public static RemoveFirst ( string remove, string text ) : string | ||
remove | string | |
text | string | |
return | string |
public static Replace ( string match, string replace, string text ) : string | ||
match | string | |
replace | string | |
text | string | |
return | string |
public static ReplaceFirst ( string match, string replace, string text ) : string | ||
match | string | |
replace | string | |
text | string | |
return | string |
public static Split ( string pattern, string text ) : IEnumerable | ||
pattern | string | |
text | string | |
return | IEnumerable |
public static StartsWith ( string start, string text ) : bool | ||
start | string | |
text | string | |
return | bool |
public static StripNewlines ( string text ) : string | ||
text | string | |
return | string |
public static Truncate ( int length, string text ) : string | ||
length | int | |
text | string | |
return | string |
public static Truncatewords ( int count, string text ) : string | ||
count | int | |
text | string | |
return | string |
public static Upcase ( string text ) : string | ||
text | string | |
return | string |