Salesforce For YOU
ads
Thursday, 14 December 2017
Get N Character from a string using JAVASCRIPT
Use of
CharAt(N)
var
TestStr
=
'12345678'
;
String
s
=
TestStr
.
charAt
(
3
);
//As index Start From 0 It Will Return 4
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment