Remove always the last caractere

I create a variable where there is all lot of mail but the number of mails can change, and i need to remove the last caractere “;” every time from this variable

image

1 Like

Hey @Soudios

Assuming you email string is str_Email

str_Email.TrimEnd(";".ToCharArray)

Hope this helps.

Thanks
#nK

Hi @Soudios,

Update the value using the assign activity.

yourValue = yourValue.TrimEnd(";"c)

or

Regards,
MY

1 Like

Thank you its working

1 Like

Cool buddy @Soudios :slightly_smiling_face::+1::white_check_mark:

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