Hii gmk51080
try to use split() method
like this
urvalue=":10:20"
arr=urvalue.split(":")
arr.length will give you length 3,but the values are only two,so it's matter of choice either you can remove your first ":" ,then use split method or leave it remain and get the value
When i don't remove first ":" then
arr.length will give length 3
value_a=arr[1] // will give you "10"
value_b=arr[2] // will give you "20"
if You remove first ":" then then arr[0] and arr[1] will give you the required result.
Hope this will help you
Cheers :)
vinod
|