Documentation

Looking for something in particular?

StringReplace

Use this function when you need to modify or parameterize a body of text.

FormatStringReplace(SourceString, FindString, ReplaceString)

Examples:

{StringReplace("Dear Customer", "Customer", CustomerName)}– Where CustomerName is a Variable, e.g. “Dear David”

{StringReplace(Template, "TODAYSDATE", TODAY)}– Where Template is a file from the file system with the text “Today is TODAYSDATE”, e.g., Today is 2015-01-16

Practice


Want to learn more about using this function in Provar? You can use the following sample test case to get started. Right-click to download StringReplace.testcase and then drag and drop the test case into the test folder within the Navigator panel of Provar.

Note: Unzip/extract the compressed file before using it in Provar.

Review Provar on G2
Documentation library

Trying to raise a case with our support team?

We use cookies to better understand how our website is used so we can tailor content for you. For more information about the different cookies we use please take a look at our Privacy Policy.

Scroll to Top