pymel.util.common.capitalize

capitalize(s)

Python’s string ‘capitalize’ method is NOT equiv. to mel’s capitalize, which preserves capital letters.

>>> capitalize( 'fooBAR' )
'FooBAR'
>>> 'fooBAR'.capitalize()
'Foobar'
Return type:string

Previous topic

pymel.util.common.cacheProperty

Next topic

pymel.util.common.escape

Core

Core Modules

Other Modules

This Page