Method | Description | |
---|---|---|
JoinIfNotNull ( this baseString, string separator ) : string |
Joins multiple strings together with a delimiter. If a string segment is null, it will not be appended.
|
|
Pluralize ( this str, int count ) : string |
Pluralizes a string.
|
|
ToSnakeCase ( this str ) : string |
Converts a string to the snake case (lowercase with underscores instead of spaces).
|
public static JoinIfNotNull ( this baseString, string separator ) : string | ||
baseString | this | |
separator | string | |
return | string |
public static Pluralize ( this str, int count ) : string | ||
str | this | The string to pluralize. |
count | int | The quantity used to pluralize. |
return | string |
public static ToSnakeCase ( this str ) : string | ||
str | this | A string that is Camel Case or Pluralized. |
return | string |