pymel.util.capitalize

static util.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.cacheProperty

Next topic

pymel.util.ceil

Core

Core Modules

Other Modules

This Page