Generate random String | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

Generate random String

Hi Community, how can I generate a string with 9 characters/letters in the following order lowercase, numbers, uppercase? E.g. abc123ABC. I have a method that generates everything randomly and it needs to be a random string but with this kind of setting. I appreciate all help I've been stuck at this for a while. Regards

10th May 2018, 9:44 AM
Vas
Vas - avatar
4 Respostas
+ 8
i made this it might help šŸ‘ https://code.sololearn.com/c0viTKYuCKNl/?ref=app
10th May 2018, 1:01 PM
D_Stark
D_Stark - avatar
+ 6
Thank you for best answer and your very welcome šŸ˜ŠšŸ‘
10th May 2018, 1:10 PM
D_Stark
D_Stark - avatar
+ 1
that's exactly it I was trying something like that with a different algorithm and I was getting out of bounds exceptions. Thanks 4 the help šŸ‘ØšŸ¾ā€šŸ’»šŸ‘
10th May 2018, 1:06 PM
Vas
Vas - avatar
0
What do u mean
10th May 2018, 9:50 AM
Ankit Yadav
Ankit Yadav - avatar