haven’t tried it, but you will need something like this:
string pattern = "|\*,";
string[] result = Regex.Split(before_split, pattern);
More Related Contents:
- Convert shell script to C# programming language [closed]
- Solving “The ObjectContext instance has been disposed and can no longer be used for operations that require a connection” InvalidOperationException
- Awaiting multiple Tasks with different results
- Distinct not working with LINQ to Objects
- File being used by another process after using File.Create()
- What do ‘statically linked’ and ‘dynamically linked’ mean?
- Using a self-signed certificate with .NET’s HttpWebRequest/Response
- C# Set collection?
- This type of CollectionView does not support changes to its SourceCollection from a thread different from the Dispatcher thread [duplicate]
- Mirroring console output to a file
- How to pass anonymous types as parameters?
- What are best practices for using SmtpClient, SendAsync and Dispose under .NET 4.0
- Interfaces vs. abstract classes [duplicate]
- Creating a circularly linked list in C#?
- How can one generate and save a file client side using Blazor?
- C# – How to detect a Windows shutdown/logoff and cancel that action (after asking the user)
- Referenced Project gets “lost” at Compile Time
- Why is “null” present in C# and Java?
- Resolving extension methods/LINQ ambiguity
- Select distinct by two properties in a list
- PATCH Async requests with Windows.Web.Http.HttpClient class
- Get previous and next item in a IEnumerable using LINQ
- How to allow an anonymous user access to some given page in MVC?
- WPF TextBlock highlight certain parts based on search condition
- Why in unity i’m getting the warning: You are trying to create a MonoBehaviour using the ‘new’ keyword? [closed]
- Implementations of interface through Reflection
- Prism assembly reference failure: System.Windows.Interactivity
- “Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))”
- C#/WPF: Disable Text-Wrap of RichTextBox
- WPF + MVVM + RadioButton : How to handle binding with single property?