I'm looking to replace a string with random values - and keep the same length. However, I'd like all characters to be replaced with chars, digits to be replaced with digits.
I'm wondering the best way to do this. I'm considering a for loop through each character but that could be potentially quite performance intensive.
I may be wrong, in which case please do let me know.
Thanks