Javascript Tutorial - String methods | Javascript strings - Front end programming | String functions

preview_player
Показать описание
In this video we will learn the various string methods available in javascript:
We will try to give example of these methods that can be applied on string.
// String methods example:
// 1. String Length
var text="hello world";

// 2. FInding a string in a string/statement
var statement = "Hello this is to find world the string world in the statement";

// 3. Searching of string

// 4. Extracting string with slice, substring, substr

// 5. Replace string

//6. Uppercase and lowercase

//7. concat method

//8. trim method
var s = " hello";

//9. charAt method

// 10. charCodeAt() method

// split method

subscribe to learn:
Рекомендации по теме
welcome to shbcf.ru