Hello, need your help friends.
how can i split phone numbers via string
The phone number comes intact for example 0550000000
The first 3 digits is code area.
I need to divide the number to separate the code area from the rest of the number
like in the picture, if the first 3 will choose the 055 from the dropdown then it will fill the next value of the number
var.ToString.substring(0,3)
Hope it helps
3 Likes
Try below syntax
strValue.Trim.SubString(0,3)
Regards,
Arivu