Function SPLIT() doesn't work?

General help and assistance with jamovi. Bug reports can be made at our issues page: . (If you're unsure feel free to discuss it here)

by Vivien » Tue Oct 08, 2019 2:53 pm


I need to split a date to get only the year. My dataframe has a column Date and I tried to compute or transform variable with function SPLIT() in the category "Text" in the selection list button "fx", but it doesn't work. I don't understand why, despite the help (cf. png in attachment)... Is it a bug or an oversight on my part?

exemple of value in variable "date": 23/01/2015

Transform function:
fx = SPLIT(date,sep='/',3)

Thank you for your help.
Screenshot of my jamovi screen with error when i used the function SPLIT()
Error_SPLIT_function.PNG (86.24 KiB) Viewed 1004 times
Posts: 2
Joined: Tue Oct 08, 2019 2:30 pm

by MAgojam » Tue Oct 08, 2019 8:42 pm

Hi, Vivien.
Take a look at the screenshot I enclose, where I use "Computed Variable" and the SPLIT () function.
ScreenShot_SPLIT.png (34.31 KiB) Viewed 991 times

User avatar
Posts: 116
Joined: Thu Jun 08, 2017 2:33 pm
Location: Parma (Italy)

by Vivien » Wed Oct 09, 2019 8:11 am

Ok!!! Thanks for your help Maurizio!!!
Posts: 2
Joined: Tue Oct 08, 2019 2:30 pm

Return to Help