We're here to help


This function trims whitespace from a string.

FormatStringTrim(SourceString, TrimType)


{StringTrim(" String ")}– This will default to trimming both ends of the string, e.g. “String.

{StringTrim(" String ", LEADING)}– This will remove white space just at the beginning of the string, e.g. “String ”

{StringTrim(" String ", TRAILING)}–This will remove white space from the end of the string, e.g. “ String”



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

Note: You will need to unzip/extract the compressed file before using it in Provar.