Fix camelCase
This commit is contained in:
parent
d172421c73
commit
e233e28779
1 changed files with 1 additions and 0 deletions
|
|
@ -11,6 +11,7 @@ template camelCase(str: string): string =
|
||||||
else:
|
else:
|
||||||
res.add(str[i])
|
res.add(str[i])
|
||||||
i += 1
|
i += 1
|
||||||
|
res[0] = res[0].toUpperAscii
|
||||||
res
|
res
|
||||||
|
|
||||||
template lowerFirstLetter(str, rep: string): string =
|
template lowerFirstLetter(str, rep: string): string =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue