Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Example :
VerifyDifference                       "30"                 "40"               "10"

StoreSplitString

This action splits the string based on the specified delimiter and stores a particular instance from the splits into a variable.

Input Parameters:

...

Parameter Name

...

Parameter Description

...

Mandatory

...

Data Type

...

strKey

...

Enter the key name under which instance of the split string will to be stored.

...

Yes

...

String

...

mainString

...

Enter the string which you want to split.

...

Yes

...

String

...

Delimiter

...

Enter the delimiter which you want to use while splitting the mainString.

(info) If the delimiter is a java special character, ensure you escape the character using backslash (\) prior to the delimiter character.

...

Yes

...

String

...

instance

...

The instance of the split string that is required.

...

Yes

...

String

Example:
StoreSplitString                "SplitKey"                    "This. is. a. test"              "\."                     "3"

Here, in the example above, the delimiter character is period (.) which is given with the escape character backslash (\).

Multiexcerpt include macro
nameStoreSplitString
pageQASWM7:General Web Actions

Anchor
_Toc464214057
_Toc464214057
MaximizeBrowser

...