Méthode | Description | |
---|---|---|
FromCamelCase ( this str, string separator ) : string |
Convert the string from camelcase (thisIsATest) to a hyphenated (this-is-a-test) or underscored (this_is_a_test) string
|
|
ToCamelCase ( this str ) : string |
Convert the string with underscores (this_is_a_test) or hyphens (this-is-a-test) to camel case (thisIsATest). Camel case is the same as Pascal case, except the first letter is lowercase.
|
|
ToPascalCase ( this str ) : string |
Convert the string with underscores (this_is_a_test) or hyphens (this-is-a-test) to pascal case (ThisIsATest). Pascal case is the same as camel case, except the first letter is uppercase.
|
Méthode | Description | |
---|---|---|
ToCamelOrPascalCase ( string str, char>.Func |
public static FromCamelCase ( this str, string separator ) : string | ||
str | this | String to convert |
separator | string | Separator to use between segments |
Résultat | string |
public static ToCamelCase ( this str ) : string | ||
str | this | String to convert |
Résultat | string |
public static ToPascalCase ( this str ) : string | ||
str | this | String to convert |
Résultat | string |