JavaScript Tutorial - Part 5 | String methods | yusy4code
Vložit
- čas přidán 7. 09. 2024
- This is part 5 of our Crash Course JavaScript. In this video we will learn about
- String methods
- length
- slice(start_idx, end_idx) [ end_idx not included]
- substring(start_idx, end_idx) [ end_idx not included]
- substr(start_idx, no_of_item) [ can handle -ve index]
- replace (only first occurance)
- replace with regex
- toUpperCase
- toLowerCase
- trim
- charAt or use like array index
- split
- indexOf, lastIndexOf
- startsWith, endsWith
- includes
- match
- Template literals
All string methods return a new string. They don't modify the original string.
Strings are immutable: Strings cannot be changed, only replaced.
Full Playlist: • Crash Course JavaScript
Popular Playlists:
- Crash Course Python Basics
• Crash Course Python
- Crash Course on REST API
• Crash Course on API - ...
- AWS Serverless
• AWS - Serverless
- IBMi Web Development
• IBMi (AS400) Web Devel...
- Crash Course RPGLE
• Crash Course RPGLE
- RPGLE Fully Free Tutorial
• RPGLE Fully Free Form ...
- ILE Concepts in IBMi
• ILE Concepts in RPG IB...
- IBMi Production support tips
• Production Support Tip...
#javascript #crashcourse #yusy4code