Skip to content
Back to formatted view

Raw Message

Message-ID: <1288772030.1763738.1625707668786@mail.yahoo.com>
Date: 2021-07-08T01:27:48Z
From: Kai Yang
Subject: problem for strsplit function

Hello List,
I have a? one column data frame to store file name with extension. I want to create new column to keep file name only without extension.
I tried to use strsplit("name1.csv", "\\.")[[1]] to do that, but it just retain the first row only and it is a vector.? how can do this for all of rows and put it into a new column?
thank you,
Kai




	[[alternative HTML version deleted]]