How to split only the last 6 digits

Hi Team,

How to split only the last 6 digits value from below string?

[Auto Generated] - OS Installation in PC - 793911

Hi @Sathish_Kumar_S

Hope this expression would help you resolve this

Use a assign activity like this

Stroutput = Split(Strinput.ToString,”-“)(2).ToString.Trim

Where Strinput is the string variable holding your input

And stroutput is the string output variable

Cheers

1 Like

Thank you… it worked…

1 Like

Glad @Sathish_Kumar_S

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