Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript remove last character from string

<script>
var any = 'mystring';

any = str.slice(0, -1);
//g will be remove from mystring to (mystrin).
//i hope you understand.
</script>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #remove #character #string
ADD COMMENT
Topic
Name
8+1 =