Truncate string

Hi All,
How can we truncate string in UiPATH?
there is string1 “itgli0201_ADJ_BTR.0131201234246.20200201143109.arc”
this needs to be truncated like string2 “itgli0201_SPR_LOU.03…>”
“>” shows that the string has been truncated

@som17 - you can use StringVariable.Replace(“itgli0201_SPR_LOU.03…”,String.Empty)

or

share your complete string and expected string results as output…

complete string : “itgli0201_ADJ_BTR.0131201234246.20200201143109.arc”
Expected string output after truncate : itgli0201_ADJ_BTR.013…