Anterior Previous slide Next slide Siguiente
New course

¡Este curso ha sido revisado!

Para una experiencia de aprendizaje más agradable, le recomendamos que estudie la versión reeditada para móviles de este curso.

Llévame al curso revisado

- or -

Continue studying this course

Funciones: lc, uc, lcfirst, ucfirst

  • Apuntes
  • Revisión por tema
    Yvette S.
    Yvette S.

    We can use the lcfirst function if people are supposed to enter a username/ID like a1234 or aBCDE but rather type it as A1234 or ABCDE. Or it can be useful in other languages, such as Xhosa, where the second letter in a word is sometimes in upper case while the first letter is in lowercase. This is of course very annoying when it comes to autocorrect. How do you capitalise the first letter in every string except the word "a" and only where "a" is not the first word in the sentence?


You have received a new notification

Click here to view them all