Ajax Loader
×

Properties and Methods of Strings in Javascript

JS has some really helpful methods that you can use to manipulate string and a really helpful property called length to get the exact length of a string.

In this codecase along with the length property, we'll cover the following methods:

  • toLowerCase()
  • toUpperCase()
  • trim()
  • replace()
  • charAt()
  • indexOf()
  • substring()
  • substr()

We'll also learn how to access string characters by indexes and the entire concept of indexes in strings.

For a complete list, check out: https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String

Related:


    Warning: Invalid argument supplied for foreach() in /var/www/cssdeck.com/app/modules/labs/views/_details.php on line 68
×

Coding Preferences


HTML

CSS

Javascript

More

×

Your Default Settings - Preferences

×
×
×

Validations

(Errors from your JS or Pre-Processors code)

    HTML
    CSS
    JavaScript

    Properties and Methods of Strings in Javascript

    CSSDeck G+