Go to: Synopsis. Return value. Keywords. Python examples.
sortCaseInsensitive()
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
sortCaseInsensitive is NOT undoable, NOT queryable, and NOT editable.
This command sorts all the strings of an array in a case insensitive way.string[] | string to sort |
import maya.cmds as cmds cmds.sortCaseInsensitive( stringArray ); # Returns the sorted string from stringArray