String work help

Hello Friends, I have this String: “123456”
And I need put a “.” ever in middle of this string.

Exmp:
123456 --> 123.456
213640 --> 213.640
354156 --> 354.156

help pls, thx!

Hi @Diego_Pin

e.g. like that:
yourText.Substring(0,3) + "." + yourText.Substring(3)
image

1 Like

Hi @Diego_Pin :wave:

You can try this inside the Assign activity:

String Input = "123456"
Input.Insert(3,".")

You can also have the number of places as a separate integer and use it as required to make it dynamic in nature.

Cheers!

1 Like

addDotInNumber.zip (2.2 KB)

Hi,

Please find the attached workflow.

Hopw this will helps.

Mark as solution if it works

1 Like

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