How to split text that comes from String

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
12312
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 :slight_smile:

Hi @Arthur_Ziganshin

Use the expression below!

InputString.SubString(0,3)

Regards

3 Likes

Hi @Arthur_Ziganshin,

You can Use the below method.

Hope this will solve your problem.
Thanks.

Try below syntax

strValue.Trim.SubString(0,3)

Regards,
Arivu