Dim arrDetails() As String = Nothing
arrDetails = "CITY: Mumbai Thane, Locality: Bhaskar Colony, Chandanwadi, State: Maharashtra"
I want to split this string as
CITY:Mumbai Thane
Locality:Bhaskar Colony, Chandanwadi
State:Maharashtra
and insert them into database ( columns – city, locality, state ) with these values.
How would i do this?
Thanks
The idea is using other separator when split the string. Simply try this: