Oct-16-2017, 01:24 AM
You're still trying to do it in one. You need to do it in two. Write two loops, one that goes through the indexes of the string, and an inner one that goes through the possible lengths from that index.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures