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 "////"?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
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"![]()
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.