to_space_delimited_lowercase

stringtools.to_space_delimited_lowercase(string)

Changes string to space-delimited lowercase.

Changes upper camel case string to space-delimited lowercase:

>>> stringtools.to_space_delimited_lowercase('LogicalTie')
'logical tie'

Changes underscore-delimited string to space-delimited lowercase:

>>> stringtools.to_space_delimited_lowercase('logical_tie')
'logical tie'

Returns space-delimited string unchanged:

>>> stringtools.to_space_delimited_lowercase('logical tie')
'logical tie'

Returns empty string unchanged:

>>> stringtools.to_space_delimited_lowercase('')
''

Returns string.