cesarz
❔ Unique Integer ID GEN from string input
and idk, maybe an additional check in the loop if there are any correct characters left?
There's a possibility that someone will for some reason name a file "
Abc######
" so the loop would continue for 6 more times for no reason, but idk if it makes too much of a difference26 replies
❔ Unique Integer ID GEN from string input
13 characters is quite a lot to work with already.
I can divide it in 'half' => 6 and 7 characters
Take 6 characters from the beginning of the input
And 7 characters from the end of the input
Unless the input length is < 13, then I just take every character.
That would probably work out fine enough?
26 replies