indexof method to get spaces
807591May 11 2008 — edited May 11 2008im using the following to get the first space
.indexOf(" ")
"how are you"
it returns 4 as it is fourth from the left.
is there a way to get the second space in this string ?
any help would be appreciated thanks