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.

How does strtok() split the string into tokens in C?

Please explain to me the working of strtok() function. The manual says it breaks the string into tokens. I am …

c string split token strtok
Excel CSV. file with more than 1,048,576 rows of data

I have been given a CSV file with more than the MAX Excel can handle, and I really need to …

excel csv split max rows
How to split a delimited string in Ruby and convert it to an array?

I have a string "1,2,3,4" and I'd like to convert it into an array: [1,2,3,4] How?

arrays ruby string split
What is causing the error `string.split is not a function`?

Why am I getting... Uncaught TypeError: string.split is not a function ...when I run...

javascript jquery split
Split string into array of character strings

I need to split a String into an array of single character Strings. Eg, splitting "cat" would give the array "…

java regex split
How to use split?

I need to break apart a string that always looks like this: something -- something_else. I need to put "…

javascript split
Getting the last element of a split string array

I need to get the last element of a split array with multiple separators. The separators are commas and space. …

javascript split
Splitting on first occurrence

What would be the best way to split a string on the first occurrence of a delimiter? For example: "123mango …

python split
Is there a function in python to split a word into a list?

Is there a function in python to split a word into a list of single letters? e.g: s="Word …

python function split
Split value from one field to two

I've got a table field membername which contains both the last name and the first name of users. Is it …

mysql split