I am constructing a URL and I have
escape($('#count_of_stations').html()
The problem is the value will come in like this
1 station
2 stations
I need to strip everything other then the first character, so is there a way to sent it with the ” station(s)”?
Would using
substringwork?