I need to generate two random Uppercase characters and append it to random generate password. If any leads helpful
Create a variable of type System.Random. Let’s say it’s called rnd.
Then, whenever you need a letter you can do
Convert.ToChar(rnd.Next(65,91)) to get a random character between A and Z. This works because the ASCII value for A is 65 and for Z is 90.
Try something like this. It just needs to be translated to UiPath and adjusted to your needs (aka, remove the numbers from the string).
Hope this will help you…C# random generator