Generate dynamic amount of random strings by given integer

Hi all,

I'm encountering an issue with handling this procedure within my app:

I aim to generate random strings based on a given integer. For instance, in my dataset, there's a dynamically provided integer. With this number, I intend to generate an equal number of random strings.

The scenario is as follows: Users can book a certain number of seats for a concert (e.g., 5 seats), and based on the number of booked seats, I want to generate an equivalent number of random strings to create QR-Codes (e.g., 5 QR-Codes).

Is there a simple solution for this?

Many thanks in advance! Kind regards,

Marvin

4
2 replies