Modified method toStringSpl