char[] delimiterChars = {'-'};
string text = "123-45-6789"
string[] words = text.Split(delimiterChars);
foreach (string s in words)
{
pdfFormFields.SetField("PutItHere: ", s);
}//foreach
Result:
PutItHere: 6789
I want it to be like "123456789" , I dont know how to manipulate and put it like that. Pls help.