Search

Replace The Word

Last Updated: Dec 10, 2020

Articles

Use this function to replace all occurrences of a substring with another substring in the input string.

Syntax

Replace the word (replace_string, search_string, input)

Parameters

Input Parameter Name Description
replace_string String to replace the search string
search_string String to search
input input string

Returns

Return value Description
text Returns the updated string

Sample

  1. Replace the word (JIFFYRPA, TEST, RPA) = JIFFYTEST
  2. Replace the word (JIFFY123, TEST, 123) = JIFFYTEST
  3. Replace the word (JIFFYRPA, 123, RPA) = JIFFY123

To view all the Text functions, click here.

Did you find what you were looking for?