Substring Loop - unsure how to do it.
807599Feb 15 2007 — edited Feb 19 2007Hi guys
------------------------------------------------------------
Example Output:
------------------------------------------------------------
Enter a String :
S:Sc:Sco:Scop:Scope:
------------------------------------------------------------
Program reads in a String and outputs first character then a ":" then first 2 characters of string etc ... (as shown in example above using string Scope). Note: there are no spaces in the output.
But i don't have a clue how to write it, im always confused when it comes to SubStrings.
Any help would be grateful, cheers.