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.

equivalent of vbCrLf in c#

I have a to do this: AccountList.Split(vbCrLf) In c# AccountList is a string. How can i do? thanks

c# list split language-comparisons
Split a large dataframe into a list of data frames based on common value in column

I have a data frame with 10 columns, collecting actions of "users", where one of the columns contains an ID (not …

r performance matrix split dataframe
How to Split Image Into Multiple Pieces in Python

I'm trying to split a photo into multiple pieces using PIL. def crop(Path,input,height,width,i,k,x,…

python image split python-imaging-library crop
Python: How exactly can you take a string, split it, reverse it and join it back together again?

How exactly can you take a string, split it, reverse it and join it back together again without the brackets, …

python string join split reverse
How can I use "." as the delimiter with String.split() in java

What I am trying to do is read a .java file, and pick out all of the identifiers and store …

java string split
Splitting a dataframe string column into multiple different columns

What I am trying to accomplish is splitting a column into multiple columns. I would prefer the first column to …

r split dataframe stringr
Regex to split a CSV

I know this (or similar) has been asked many times but having tried out numerous possibilities I've not been able …

regex csv asp-classic split quotes
How to split CSV files as per number of rows specified?

I've CSV file (around 10,000 rows ; each row having 300 columns) stored on LINUX server. I want to break this CSV file …

linux unix csv split
Python split() without removing the delimiter

This code almost does what I need it to.. for line in all_lines: s = line.split('>') …

python split delimiter
Python: Cut off the last word of a sentence?

What's the best way to slice the last word from a block of text? I can think of Split it …

python split concatenation word text-segmentation