remove the $ from the string.

remove the $ from the string.


i m setting the price of the products as $('#total-price').text() .
it shows like this $800.
now i want to remove the $ from $800 and want to use just 800 in my
code .
how i can remove this $ from string $800 ?