Discussion about this post

User's avatar
Jon Peltier's avatar

Note that if there are spaces adjacent to your delimiter, you should include them in the delimiter. Otherwise, the spaces are left in the output text.

TEXTSPLIT("Mary, Bill, Pete", ",") with no space in the delimiter "," results in {"Mary", " Bill", " Pete"} with spaces before " Bill" and " Pete".

TEXTSPLIT("Mary, Bill, Pete", ", ") with a space in the delimiter ", " results in {"Mary", "Bill", "Pete"} with no spaces.

Expand full comment
Jon Peltier's avatar

Perhaps you mentioned TRIM(), and I thought of it. But using the precise definition of the delimiter is probably most efficient.

Expand full comment
2 more comments...

No posts