to_upper_camel_case

stringtools.to_upper_camel_case(string)

Changes string to upper camel case.

Changes words to upper camel case:

>>> stringtools.to_upper_camel_case('scale degrees 4 and 5')
'ScaleDegrees4And5'

Changes snake case to upper camel case:

>>> stringtools.to_upper_camel_case('scale_degrees_4_and_5')
'ScaleDegrees4And5'

Changes dash case to upper camel case:

>>> stringtools.to_upper_camel_case('scale-degrees-4-and-5')
'ScaleDegrees4And5'

Changes upper camel case to upper camel case:

>>> stringtools.to_upper_camel_case('ScaleDegrees4And5')
'ScaleDegrees4And5'

Returns string.