Method | Description | |
---|---|---|
Capitalize ( this @string, int offset ) : string | ||
ContainsAny ( this haystack ) : bool |
Contains any of the given needles.
|
|
GetGenderPronoun ( string gender, string input ) : string |
Gets the gender pronoun.
|
|
SanitizeString ( string str, bool punctuation = false ) : string |
Sanitizes the string.
|
Method | Description | |
---|---|---|
ReplaceGenderPronoun ( this builder, string gender, string input ) : StringBuilder |
public static Capitalize ( this @string, int offset ) : string | ||
@string | this | |
offset | int | |
return | string |
public static ContainsAny ( this haystack ) : bool | ||
haystack | this | Haystack. |
return | bool |
public static GetGenderPronoun ( string gender, string input ) : string | ||
gender | string | Gender. e.g. 'Male' or 'Female' |
input | string | Input. e.g. '%hisher' or 'she' |
return | string |
public static SanitizeString ( string str, bool punctuation = false ) : string | ||
str | string | Input to be sanitized. |
punctuation | bool | If set to |
return | string |