You could implement your own splitting function.
Here's one I have done on a hurry that is ugly but working:
public static string[] StringSplit(str ing input, string delimiter)
{
ArrayList arr = new ArrayList();
int pos = -1;
int acheived = 0;
bool founddelimiter = false;
StringBuilder splitted = new StringBuilder() ;
StringBuilder temp = new StringBuilder() ;
while ( pos++ < input.Length -1 )
{
if ( input[pos] != delimiter[acheived] )
{
founddelimiter = false;
splitted.Append (temp.ToString( ));
splitted.Append ( input[pos] );
acheived = 0;
temp.Length = 0;
}
else
{
if ( acheived == delimiter.Lengt h - 1 )
{
temp.Length = 0;
arr.Add( splitted.ToStri ng() );
founddelimiter = true;
splitted.Length = 0;
acheived = 0;
}
else
{
temp.Append(inp ut[pos]);
acheived++;
}
}
}
if ( splitted.Length > 0 )
arr.Add( splitted.ToStri ng() );
if ( founddelimiter )
arr.Add("");
return (string[]) arr.ToArray(typ eof(string));
}
"mb" <mm@hotmail.com > wrote in message
news:#E******** ******@TK2MSFTN GP10.phx.gbl...
I was wondering if there is an easy, more useful Split function that will
split with a string delimiter like "<>" or "////"?