How would i go about making a random string?

You’d probably be better off doing this in C++, but what it boils down to is:

You have an array of 26 characters (a-z), and you iterate through your word-length and append a character from the array by picking a random number between 0-25.

Here’s a working blueprint:

In case it isn’t obvious, the high index in the ForLoop is your letter count. Just bear in mind your max index will be wordlength-1

For a 6 character string:


LogBlueprintUserMessages: Generating...
LogBlueprintUserMessages: mwldqz


LogBlueprintUserMessages: Generating...
LogBlueprintUserMessages: ffbhpt


LogBlueprintUserMessages: Generating...
LogBlueprintUserMessages: ndicrc

2 Likes