Procs
proc camelCase(s: string; acronyms: HashSet[string] = acronyms): string {. ...deprecated: "Use `toCamelCase()` instead.", raises: [], tags: [], forbids: [].}
- toCamelCase() Source Edit
proc currentCase(s: string): Case {....raises: [UnsupportedCharacterError], tags: [], forbids: [].}
- Guess the current case format of the string (not tested for edge cases). Returns Default if its not able to properly determine its case. Source Edit
proc fromCamelCase(s: string; acronyms: HashSet[string] = acronyms): string {. ...raises: [], tags: [], forbids: [].}
- Converts camelCase string to snake_case. Source Edit
proc fromKebabCase(s: string): string {....raises: [], tags: [], forbids: [].}
- Converts kebab-case string to snake_case. Source Edit
proc fromPascalCase(s: string; acronyms: HashSet[string] = acronyms): string {. ...raises: [], tags: [], forbids: [].}
- Converts PascalCase string to snake_case. Source Edit
proc fromUpperCase(s: string): string {....raises: [], tags: [], forbids: [].}
- Converts UPPER_CASE string to snake_case. Source Edit
proc kebabCase(s: string): string {....deprecated: "Use `toKebabCase()` instead.", raises: [], tags: [], forbids: [].}
- toKebabCase() Source Edit
proc lowerCase(s: string): string {....deprecated: "Use `toLowerCase()` instead.", raises: [], tags: [], forbids: [].}
- toLowerCase() Source Edit
proc pascalCase(s: string; acronyms: HashSet[string] = acronyms): string {. ...deprecated: "Use `toPascalCase()` instead.", raises: [], tags: [], forbids: [].}
- toPascalCase() Source Edit
proc setAcronyms(configAcronyms: HashSet[string]): void {....raises: [], tags: [], forbids: [].}
- Setter for acronyms to always apply ALLCAPS. Source Edit
proc toCamelCase(s: string; acronyms: HashSet[string] = acronyms): string {. ...raises: [], tags: [], forbids: [].}
- Converts snake_case string to camelCase. Source Edit
proc toKebabCase(s: string): string {....raises: [], tags: [], forbids: [].}
- Converts snake_case string to kebab-case. Source Edit
proc toLowerCase(s: string): string {....raises: [], tags: [], forbids: [].}
- Converts snake_case string to lowercase. Source Edit
proc toPascalCase(s: string; acronyms: HashSet[string] = acronyms): string {. ...raises: [], tags: [], forbids: [].}
- Converts snake_case string to PascalCase. Source Edit
proc toUpperCase(s: string): string {....raises: [], tags: [], forbids: [].}
- Converts snake_case string to UPPER_CASE. Source Edit
proc upperCase(s: string): string {....deprecated: "Use `toUpperCase()` instead.", raises: [], tags: [], forbids: [].}
- toUpperCase() Source Edit