M
mb
I was wondering if there is an easy, more useful Split function that will
split with a string delimiter like "<>" or "////"?
split with a string delimiter like "<>" or "////"?
mb said:I was wondering if there is an easy, more useful Split function that will
split with a string delimiter like "<>" or "////"?
Mark Rae said:mb said:I was wondering if there is an easy, more useful Split function that will
split with a string delimiter like "<>" or "////"?
using System.Text.RegularExpressions;
string strTest = "One<>Two<>Three<>Four<>Five";
string[] astrTest = Regex.Split(strTest, "<>");
mb said:THANKS!!
By the way, what does Regex stant for. I keep calling it "Rejects"![]()
Mark Rae said:mb said:I was wondering if there is an easy, more useful Split function that
will
split with a string delimiter like "<>" or "////"?
using System.Text.RegularExpressions;
string strTest = "One<>Two<>Three<>Four<>Five";
string[] astrTest = Regex.Split(strTest, "<>");
Daniel O'Connell said:mb said:THANKS!!
By the way, what does Regex stant for. I keep calling it "Rejects"![]()
REGular EXpressions
Mark Rae said:I was wondering if there is an easy, more useful Split function that
will
split with a string delimiter like "<>" or "////"?
using System.Text.RegularExpressions;
string strTest = "One<>Two<>Three<>Four<>Five";
string[] astrTest = Regex.Split(strTest, "<>");
Is this faster than the string.Split method?
THANKS!!
By the way, what does Regex stant for. I keep calling it "Rejects"![]()