scan forward and Count and Create string