Insert character inbetween string

Hi how to Insert character or text inbetween string

eg input: 3457387837

Output: 345.738.7837
Output 2: 345to738to7837

Hi,

We can use String.Insert method as the following.

text.Insert(6,"to").Insert(3,"to")

Regards,

1 Like

based on Yoichis result Output2 can be done with Replace strOutput1.Replace(".",β€œto”)

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.