Results 1 to 2 of 2

Thread: capitalize does not work for a string

  1. #1

    Default capitalize does not work for a string

    var StringValTest = " Test string";
    var capitalizeString = Ext.String.capitalize(StringValTest);

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Gainesville, FL


    Sure it does, it will capitalize the first character

    var string = 'test string';
    string = Ext.String.capitalize(string);
    console.log(string); //Test string
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Fullstack Engineer
    Modus Create is based on the model of an open source team. We’re a remote, global team of experts in our field. To find out more about the work we do, head over to our website.

    Check out my GitHub:

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts