String manipulation by Replace

my str=on sale product name and description and i want to cut the on sale from that string …plz help me out .what should i use for this…


There are many ways to achieve this.

Best way is to use string.Replace(“On Sale”,“”) → replace string with empty

If “On Sale” appears always at the starting of a string, use Substring(my str,8, my str.length-8)

Karthik Byggari

1 Like

Use Replace Activity.