+138 votes
353 views
I need to do the test with random strings from the given string. how to get random string within the given range of large string using c++?
in Programming by (1.1k points) | 353 views

Please log in or register to answer this question.

1 Answer

+131 votes

Linked Generators can be used to create a random substring containing a specified number of characters from a list of strings. The following Generators will need to be linked as part of the Attribute's configuration: 

ListGen : Contains the list of strings. 

StringLengthGen : Evaluates the length of each string in the list. 

EvalCaseGen : Evaluate if the string is less than specified substring length.

PadGen : Pads the substring with blank when it is less than specified length. 

SubstringGen : Used to substring the padded strings. 

StringReplacementGen : Trims the generated substring from the given string.

by (1.0k points)