Hey guys, is there any alternative methods to string slicing?
An example output would be:
input: dani
output:
d
da
dan
dani
I did this with string slicing, but am wondering if it is possible to do the same thing without slicing.
Anyone help out?
Testie,