python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
split the string in the rows to separate columns in R
I have a column with different strings length that are separated by ",". I want to split each rows of this column to separate columns and fill the missing values with "NA", and for...
Jackie
Votes: 0
Answers: 2
Split string without delimeters
I have df which contains a column with metro lines. The problem is that L9N and L10N appear sometimes in the same row and I want to split them into two different rows. I have been trying many things b...
Berta_94
Votes: 0
Answers: 3
Why is strsplit not working with my character string?
I wanted to combine R's rev() function and strsplit function to check if a string is a palindrome. My idea was to use strsplit() to split up my character string into individual letters and then use re...
Dan Öz
Votes: 0
Answers: 1
Split string at a vertical bar character "|"
I feel like this question is asked a lot but all the solutions I found don't work for me either.
I have a dataframe with a column (called ID) in which I have a string of numbers and letters (e.g: Q8A2...
Marlop
Votes: 0
Answers: 1