About 3,120,000 results
Open links in new tab
  1. How and why does 'a' ['toUpperCase'] () in JavaScript work?

    Jun 1, 2013 · The reason it works like 'a'['toUpperCase']() is that the toUpperCase function is a property of the string object 'a'. You can reference the properties on an object using …

  2. How do I make the first letter of a string uppercase in JavaScript ...

    Jun 22, 2009 · How do I make the first character of a string uppercase if it's a letter, but not change the case of any of the other letters? For example: "this is a test" → "This is a test" ...

  3. El toUpperCase () como se usa - Stack Overflow en español

    Jul 27, 2017 · El toUpperCase(), me gustaría que me digan como se utiliza y que me den ejemplos ya que me es difícil entender su estructura.

  4. toUpperCase () is not making the string upper case

    string = string.toUpperCase(); In many languages, strings are immutable, meaning that they can not be modified once created. While this costs in efficiency, it is important for object oriented …

  5. Javascript toUpperCase () method - Stack Overflow

    Feb 21, 2021 · 0 The .toUpperCase() method is a method of string which the uppercase version of given string. It does not modify the existing string. Thus you need to reassign it. See .

  6. Converting to upper and lower case in Java - Stack Overflow

    Oct 23, 2016 · I want to convert the first character of a string to Uppercase and the rest of the characters to lowercase. How can I do it? Example: String inputval="ABCb" OR …

  7. javascript - Convert array into upper case - Stack Overflow

    Apr 18, 2015 · What's happening is first we convert the array into a string then use the toUpperCase () method of string to make that string all uppercased then split it by using "," so …

  8. Converting a char to uppercase in Java - Stack Overflow

    Apr 14, 2017 · While I applaud the clever approach, being clever rarely leads to maintainable code, especially when used in place of a built-in method like Character.toUpperCase().

  9. string - toUpperCase in Java does not work - Stack Overflow

    Dec 11, 2011 · I have a string: String c = "IceCream"; If I use toUpperCase() function then it returns the same string, but I want to get "ICECREAM". Where is the problem?

  10. javascript - .toUpperCase () is not a function - Stack Overflow

    When name is all uppercase, then the function should shout back to the user. For example, when name is "JERRY" then the function should return the string "HELLO, JERRY!" The console …