151
rated 0 times
[
157]
[
6]
/ answers: 1 / hits: 78063
/ 14 Years ago, tue, february 1, 2011, 12:00:00
Whats a simple way to delete the last two characters of a string?
More From » string
Whats a simple way to delete the last two characters of a string?
To convert 245px
in 245 just run:
parseInt('245px', 10);
It retains only leading numbers and discards all the rest.