Skip to content

Commit 9f37a4f

Browse files
committed
added substr
1 parent db264e4 commit 9f37a4f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,12 @@ const smallSlice = anthum.slice(2,10)
136136
console.log(smallSlice);
137137
```
138138
- It will return as many calls starting from a position.
139+
example- a b c d e f j h
140+
(7,4)= e f
139141
```javascript
140142
const anthum = 'Amar Sonar Bangla Ami Tomake Valobashi';
141143
// substr
142-
const anotherPart = anthum.substr(2,10)
144+
const anotherPart = anthum.substr(11,7)
143145
console.log(anotherPart);
144146
```
145147
```javascript

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy