I have a string containing 14 numbers, but can only start with 2 or 5.
How to Implement that?
For examaple.
20 2222 2222 2222 or
50 2222 2222 2222
if field <> 2 than 2 elseif field <> 5 than 5 end.
Thanks
I have a string containing 14 numbers, but can only start with 2 or 5.
How to Implement that?
For examaple.
20 2222 2222 2222 or
50 2222 2222 2222
if field <> 2 than 2 elseif field <> 5 than 5 end.
Thanks
I suggest just generating 1 fewer number and randomly adding 2 or 5 at the start using the f(x) feature:
["2", "5"].sample + this