Part: 2 JavaScript String methods | JavaScript Complete Course for Beginners

Veröffentlicht am: 13 Juni 2022
auf dem Kanal: Web Expert
0

Part: 2 JavaScript String methods | JavaScript Complete Course for Beginners

Everything in quotes are called String in JavaScript. In JavaScript String have a lot of properties and methods by which we can perform different types of operations on String.

Some of the String methods are below:

1. toUpperCase:-
Convert all string alphabets to upper case.

2. toLowerCase:-
Convert all string alphabets to lower case.

3. trim:-
Remove white spaces from start and end.

4. split:-
Convert String to array.

5. slice:-
Extract some part from a string

6. search, indexOf:-
Search some part of string and return the index number of the first character.

7. replace:-
replace some part of string with another string.

8. length:-
return the number of character of a string.

Note:- All the string's methods return new string. It doesn't change the original string.

For more details watch the video...

stay with us for learning complete JavaScript.

Playlist:-    • JavaScript Complete Course for beginners  

Watch the video enjoy coding...
Subscribe the channel....
Like and Share the video...

Thanks...


Auf dieser Seite können Sie das Online-Video Part: 2 JavaScript String methods | JavaScript Complete Course for Beginners mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Web Expert 13 Juni 2022 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits Mal angesehen und es wurde von 0 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!