repl.it
@functorflow/

clean-string

Python

Transform a camelized/dasherized/underscored/etc string into a readable string

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from functorflow import ff

ff.clean_string('fooBar')
# 'Foo bar'

ff.clean_string('lorem-ipsum')
# 'Lorem ipsum'


ff.clean_string('BigBang_theory')
# 'Big bang theory'