This should have been simple but I can't find a workaround. I want to split a string into its characters. e.g. dog will be sepearted to: d o g
The problem is I can't put an empty character as a delimiter in the SPLIT function. What am I missing?
This should have been simple but I can't find a workaround. I want to split a string into its characters. e.g. dog will be sepearted to: d o g
The problem is I can't put an empty character as a delimiter in the SPLIT function. What am I missing?
Something like this ?
=split(regexreplace(A2, "(.)", "$1_"), "_")
or if you'd want an arrayformula to process a column at once
=ArrayFormula(if(len(A2:A), split(regexreplace(A2:A, "(.)", "$1_"), "_"),))
More info on how this works? Check this link.
Something like this ?
=split(regexreplace(A2, "(.)", "$1_"), "_")
or if you'd want an arrayformula to process a column at once
=ArrayFormula(if(len(A2:A), split(regexreplace(A2:A, "(.)", "$1_"), "_"),))
More info on how this works? Check this link.
Here's another way to do this:
=SPLIT(REGEXREPLACE(A1,," ")," ")
The following formula inserts a space between each character:
=REGEXREPLACE(A1,," ")
Then we SPLIT
by it.
© 2022 - 2025 — McMap. All rights reserved.