HI all I have a sting like \\"adsald 23 djfls 4 ksadja l 6 dkj\\" . From this script I want to collect only the integer value. Any one can tell how can I do this. Need help for emergency..
first, chop the string into an array of words, space being the separator.
-> function: explode()
second, iterate through the words array, checking on numeric words.
-> function: is_numeric()
collect the matching items in a result array.
hth