Travis build: 200
This commit is contained in:
@ -1784,7 +1784,7 @@ byte_size('Hello World') # 11
|
||||
|
||||
Converts a string to camelcase.
|
||||
|
||||
Use `re.sub()` to replace any `-`,`_` or ` ` (space) with a space, using the regexp `r"(_|-)+"`.
|
||||
Use `re.sub()` to replace any `-` or `_` with a space, using the regexp `r"(_|-)+"`.
|
||||
Use `title()` to capitalize the first letter of each word convert the rest to lowercase.
|
||||
Finally, use `replace()` to remove spaces between words.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user