Hi, im writing a type of password generator, you insert a keyword and it gaves back a password by substituting letters and adding numbers/symbols to the string. Is there a way to split the text from one textbox into several strings every few letters? I´m new to programming, and have little experience, and havn´t come accross this type of operation yet.

Recommended Answers

All 3 Replies

If you want to split on specific characters then look up the split function.

If you want to split the string after reaching a certain ammount of characters then you should try getting familiar with loops and the substring function.

Thanks, this seams to work well.

If your problem has solved Please mark this thread as solved and if you have additional question please start a new thread.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.