Question: Printing stars
I am a beginer and i have one assignment which couldnt give me any idea how to do it..The Question is "Get a string "001222014654" and print o/p as
0 - * 1- ** 2- * 4- ** 5-* 6-*
I dont know how to split these strings in java so that i can put it in array..can somebody help??