Skip to content

Commit e812531

Browse files
author
Wakidur Rahaman
committed
String Access
1 parent 305e4e3 commit e812531

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/exercises/string/exercise-01.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,6 @@
1313
'Hello world'.charAt(1); // returns 'e';
1414
'YouTube'.substring(1, 2); // returns 'o' : multiple-character access.
1515
'YouTube'.substring(3, 7); // returns 'Tube'
16+
'YouTube'.substring(1); // returns 'ouTube'
17+
18+
// 2. String Comparison

0 commit comments

Comments
 (0)