How to generate an random alphanumeric string?

Hi Team,

I am stuck in generating a alphanumeric string and followed some of the post got an idea but my requirement is that character should be 8 digit, first letters should be uppercase and the string should contain some special charater like @,#.

So anyone can please guide me.

Thanks,
Sneha

2 Likes

you can go through this post
@Snehamayi_Sneha

1 Like

Hi ,

I refered the given link but that normal number to generate i have some criteria as mentioned below can you please help with those criteria.

Can anyone help me how my first letter will be a uppercase ?

Thanks,
Sneha

1 Like

if you want to the first letter to be Upper case you can do this

StrConv(“randomtext”,VbStrConv.ProperCase) you can use this method
image
you’ll get the output like this
@Snehamayi_Sneha

1 Like

Ya thanks it worked for me…But i want first few letters is alphabet then there should be numericals.

So if any idea you please suggest like Welcom@123.

Anyone can guide on this please?

Thanks,
Sneha