Random String
-
I want to make a random string generator with only those two symbols "-_".Is this possible because so far I can just put the hole symbols dictionary in it.
-
Dude just use constant block.
FUNCTION Constant "-_" -> VAR "SYMBOL"
-
No like to be a random string... like ?d or something
-
Easy solution: use ?d and then use a translate block to translate every even number to - and every odd number to _
-
yes but I want it to be random in a way
-
If you use ?d it's random.
For example create
?d?d?d?d
which will output something like
3875
then you translate 1, 3, 5, 7 and 9 to-
and 2, 4, 6, 8, 0 to_
getting
-_--
and there's your random string made only by - and _
-
well thats usefull thank you!