hi, im having a small issue. I pass a String[] object to a method, but then
when i try to use the Split method of a String array, it says System.Array
does not contain Split. The parameter of my method is a String array, so it
should be able to find the Split method. before i moved it into a new method,
it worked fine. why is this happening and what can i do? thanks
private Mail ParseMail(String[] st)
{
//create a new mail object
Mail m = new Mail();
//split the message into the parts (ex size, from, subject, etc)
ERROR HERE
String[] s = str.Split(new String[] { MESSAGE_PARTS_DELIMITER },
StringSplitOptions.RemoveEmptyEntries);
//iterate the array of parts
for (int i = 0; i < s.Length; i++)
{
//other code here
}
//return message
return m;
}
--
-iwdu15