I have a long string like this
dim LongString as String = \"123abc456def789ghi\"
And I want to split it into a string array. Each element
I'm splitting the string by 35.
var tempstore ="12345678901234567890123456789012345";
for (int k = 0; k < tempstore.Length; k += 35) {
PMSIMTRequest.Append(tempstore.Substring(k,
tempstore.Length - k > 35 ? 35 : tempstore.Length - k));
PMSIMTRequest.Append(System.Environment.NewLine);
}
messagebox.Show(PMSIMTRequest.tostring());