JavaScript Tutorial - Part 5 | String methods | yusy4code

preview_player
Показать описание
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.

Popular Playlists:

- Crash Course Python Basics

- Crash Course on REST API

- AWS Serverless

- IBMi Web Development

- Crash Course RPGLE

- RPGLE Fully Free Tutorial

- ILE Concepts in IBMi

- IBMi Production support tips

#javascript #crashcourse #yusy4code
Рекомендации по теме
Комментарии
Автор

Thank you Yusuf for this useful video!

higiniofuentes