Funcstr: TSL's Missing String Manipulation Functions

 

Tired of WinRunner's limited string support? Wish you can you regular expressions a lot more? Want to get a section of your comma separated string?

Worry no more. Here are some of the functions that you WISH Mercury had included in their toolbox, but didn't. Nevermind, it's here now.

Here is a summary of the features:

str_get_regexp
Returns the string subset that matches the specified regular expression.
str_replace
Replace each occurences of any character with another string.
str_replace_regexp
Replace each occurences of a string or regular expression with another string.
get_token
Returns a token or a range of tokens from a separator delimited string. Can specify the "last" item as a location (very useful at times :-) ).

Can't wait to get your hands on it? Get it here:

funcstr.zip


Tech Page @ itechnologist.com