Programming Experience
Monday, July 13, 2009
Removing last char
PHP:
$string = "asdf"
$string = substr_replace($string ,"",-1);
JS:
str = "asdf";
str = str.slice(0,-1);
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment