Skip to content

StringRange

Mostafa Asgari edited this page Mar 4, 2017 · 1 revision

If you want to select randomly between words, you can use StringRange.The syntax is like LongRange and CharRange but you must seperate your data with | :
Syntax : [ S1 | S2 ] or [ S1 | S2 | S3 ] or [ S1 | S2 | ... | Sn ]
Example 1 :

[ Hello | World]    

Output : random selection between Hello or World

Example 2 :

[ Hello | World | Java | 6572]  

Output : random selection between Hello or World or Java or 6572
NOTE : if you want to generate a string with space, you can just add ' to the beginning and end of a string.For example :

[ 'Hello World' | 'This is a test' ]  

Output : random selection between Hello World and This is a test.

Clone this wiki locally