I need some help with the correct expression to display random values in a String.
The task is to generate a String and show random numbers on command with the following rules:
- String starts and ends with a semicolon and also has a semicolon between each value
- String will show a minimum amount of random numbers(this is value A) from all numbers(specified with another value B).
As example what the generated String could display...
- if value A = 4, value B = 10:
(this String with random values shows 4 different numbers(value A) as minimum which means that the String can also have 10 different numbers as a possible result - 10 as highest possible number with this setup(value B).
- value A is always lower than value B
- the order of numbers in the String is not important