Hi,
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.
Function SPLIT() doesn't work?
Function SPLIT() doesn't work?
- Attachments
-
- Screenshot of my jamovi screen with error when i used the function SPLIT()
- Error_SPLIT_function.PNG (86.24 KiB) Viewed 2456 times
Re: Function SPLIT() doesn't work?
Hi, Vivien.
Take a look at the screenshot I enclose, where I use "Computed Variable" and the SPLIT () function. Cheers.
Maurizio
Take a look at the screenshot I enclose, where I use "Computed Variable" and the SPLIT () function. Cheers.
Maurizio
Re: Function SPLIT() doesn't work?
Ok!!! Thanks for your help Maurizio!!!