Split String at "." (Dot) and get values before the dot

Hello All,

I have values such as 4.68, 34.76, 214.08 where I want to split the values at the Dot “.” and get the values before the DOT

Output: 4, 34, 214

Thank you in advance for the support

Hi @Yugal_Raju

you can use below regex syntax.
outputString = System.Text.RegularExpressions.Regex.Replace(inputString, “(?<=.\d{2})\d+”, “”)
Hope it helps!!!

hello @Yugal_Raju ,

you can do it two assign activity using LINQ

attaching screenshot for your reference,

hope it will help you

Regards,
Dheerendra Vishwakarma

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