Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

c# split on multiple characters

string tests = "abc][rfd][5][,][.";
string[] reslts = tests.Split(new char[] { ']', '[' }, StringSplitOptions.RemoveEmptyEntries);
Comment

PREVIOUS NEXT
Code Example
Csharp :: get 2d rotation from 2 position math 
Csharp :: No context type was found in the assembly 
Csharp :: call stored proc c# 
Csharp :: convert generic to type c# 
Csharp :: if statement swiftui 
Csharp :: convert from xls to xlsx C# 
Csharp :: c# to binary 
Csharp :: base64 decode how used in c# 
Csharp :: asking for user input integer c# 
Csharp :: c# create folder 
Csharp :: how to split concat string c# 
Csharp :: how to change the axis of a Vector3 variable 
Csharp :: how to make a custom cursor in windows forms c# 
Csharp :: c# build string out of list of strings 
Csharp :: discord bot in c# 
Csharp :: how to create a singleton in unity 
Csharp :: how to store array in c# 
Csharp :: Celsius to Fahrenheit c# 
Csharp :: c# list with 0 initialize 
Csharp :: string isnullorempty vs isnullorwhitespace 
Csharp :: C# type cast float to string 
Csharp :: The server requested authentication method unknown to the client 
Csharp :: c# unity 
Csharp :: when was the third world war 
Csharp :: unity get perlin noise 3d 
Csharp :: c# int array length 
Csharp :: how to add item in list at first position c# 
Csharp :: how to get the transform of an object in unity 
Csharp :: unity call function from another script 
Csharp :: check if file exist c# 
ADD CONTENT
Topic
Content
Source link
Name
1+2 =