Timeline for Split a string by another string in C#
Current License: CC BY-SA 4.0
11 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 8 at 22:07 | comment | added | TylerH |
How is this actually used, though? Do you assign this code to a value? Does it just automatically update the string value? That part is missing from this answer.
|
|
| Jan 16, 2020 at 21:06 | history | edited | T.Todua | CC BY-SA 4.0 |
added 79 characters in body
|
| Apr 3, 2019 at 18:49 | history | edited | Peter Mortensen | CC BY-SA 4.0 |
Active reading [<http://www.wikihow.com/Use-Than-and-Then>].
|
| Dec 29, 2015 at 9:02 | history | rollback | Peter |
Rollback to Revision 2 - rollback of unwanted edit
|
|
| Dec 28, 2015 at 22:19 | history | edited | Matthew Groves | CC BY-SA 3.0 |
omit needless words
|
| Apr 24, 2014 at 19:29 | comment | added | Timur Sadykov | one of the key advantages that may pay for overhead is ability to provide string comparison setting | |
| Feb 6, 2014 at 15:14 | history | edited | Drew Gaynor | CC BY-SA 3.0 |
Spelling, grammar
|
| Feb 11, 2010 at 15:38 | comment | added | Richard |
If you want to split by an arbitrary string, use Regex.Escape on the string first, this will escape any regex meta-characters.
|
|
| Feb 11, 2010 at 15:33 | comment | added | Adam Robinson |
@Brandon: While I'm usually cautioning against premature optimization, you should be aware that a RegEx.Split is quite a bit more costly than a simple String.Split because of the regular expression overhead.
|
|
| Feb 11, 2010 at 15:29 | vote | accept | Brandon | ||
| Feb 11, 2010 at 15:40 | |||||
| Feb 11, 2010 at 15:26 | history | answered | Peter | CC BY-SA 2.5 |