Close

Normalize Strings

How to normalize strings in HP QTP (UFT)?

In this blog post, we will see how to normalize strings in HP QTP (UFT). Below code receives string and then convert it to equivalent string in a regular expression format. Below snippet uses Replace function. Msgbox NormalizeStringFunc (“Q+A*I.n?sight\s”) Function NormalizeStringFunc(MyStr) Dim TempStr TempStr = Replace(MyStr, “\”, “\\”) TempStr = […]

Read More