Asp.net, MVC, C#,Jquery, Angularjs, WebAPI, HTML,Wcf, SQL
Life time blog
23.12.08
Remove last character from string
Remove last character from string.
----------------------------------
Got it ...
var myStr = "One, Two, Three, Four,"
var strLen = myStr.length;
myStr = myStr.slice(0,strLen-1);
alert (myStr);
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment