Top "Split" questions

Use this tag for questions about separating an item (e.g. a string) into parts, often by a delimiter or regular expression.

String delimiter in string.split method

I have following data: 1||1||Abdul-Jabbar||Karim||1996||1974 I want to delimit the tokens. Here the delimiter is "||". My delimiter setter is: …

java string split delimiter
string.split - by multiple character delimiter

i am having trouble splitting a string in c# with a delimiter of "][". For example the string "abc][rfd][5][,][." Should …

c# split
Is there a function to split a string in PL/SQL?

I need to write a procedure to normalize a record that have multiple tokens concatenated by one char. I need …

string oracle plsql split tokenize
Split string in JavaScript and detect line break

I have a small function I found that takes a string from a textarea and then puts it into a …

javascript string canvas split line-breaks
Splitting dataframe into multiple dataframes

I have a very large dataframe (around 1 million rows) with data from an experiment (60 respondents). I would like to split …

python split pandas dataframe
How would I get everything before a : in a string Python

I am looking for a way to get all of the letters in a string before a : but I have …

python regex string split
Split string, convert ToList<int>() in one line

I have a string that has numbers string sNumbers = "1,2,3,4,5"; I can split it then convert it to List<int&…

c# list split
Javascript split regex question

hello I am trying what I thought would be a rather easy regex in Javascript but is giving me lots …

javascript regex split
The split() method in Java does not work on a dot (.)

I have prepared a simple code snippet in order to separate the erroneous portion from my web application. public class …

java string split
Split string based on regex

What is the best way to split a string like "HELLO there HOW are YOU" by upper case words (in …

python regex split