classify (str) String
public
Returns the UpperCamelCase form of a string.
'innerHTML'.classify(); // 'InnerHTML' 'action_name'.classify(); // 'ActionName' 'css-class-name'.classify(); // 'CssClassName' 'my favorite items'.classify(); // 'MyFavoriteItems' 'private-docs/owner-invoice'.classify(); // 'PrivateDocs/OwnerInvoice'
Parameters:
-
str
String
- the string to classify
Returns:
-
String
- the classified string
Please login to continue.