string xText1 = "I love to party but why doesn't this work?"; StringBuilder sb1 = new StringBuilder(xText1); int iMax = sb1.Length; int xMax = iMax - 23; string iText1 = xText1.Substring(0, 23); string iText2 = xText1.Substring(24, xMax);
string xText1 = "I love to party but why doesn't this work?"; string iText1 = xText1.Substring(0, 23); string iText2 = xText1.Substring(24, (xText1.Length - iText1.Length - 1));
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)