1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | private void saveText(string inString) { string tempString = "" ; for(int i=0 , i< inString.Length, i++) { tempString += inString.substring(i,1); try { //tempString update } catch { tempString = inString.substring(i,1); } } |
Direct link: https://paste.plurk.com/show/693156