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(string 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.Length - 1 )
{
temp.Length = 0;
arr.Add( splitted.ToString() );
founddelimiter = true;
splitted.Length = 0;
acheived = 0;
}
else
{
temp.Append(input[pos]);
acheived++;
}
}
}
if ( splitted.Length > 0 )
arr.Add( splitted.ToString() );
if ( founddelimiter )
arr.Add("");
return (string[]) arr.ToArray(typeof(string));
}
"mb" <mm@hotmail.com> wrote in message
news:#E**************@TK2MSFTNGP10.phx.gbl...
I was wondering if there is an easy, more useful Split function that will
split with a string delimiter like "<>" or "////"?