How to remove specified word in a string

Hi friends, i want to remove specified word/character from the string. can any of you please tell me about the syntax code?
the case is i want to delete character in every row item that i have stored in a variable.

in example:
rowitem=row(“address”), so what should i do if i want to remove (ie : city ) word in each row beneath that address column?

Hi @Zakiy_Burhan

You can use below expression in Assign activity in each row.
row(“address”) = row(“address”).ToString.Replace(“city”, “”)

1 Like