Nov 28, 2023 04:30 AM
Hello,
I would like to not have a space at the beginning of each entries
I think I have to use Trim but My formulas is long and I do not know how to make sure each line and trimmed.
Right now with this formulas each lines as a white space at the beginning (see below)
Nov 28, 2023 07:51 AM
TRIM() will remove white space at the beginning and end of the entire string, not at internal line breaks.
You can use try using TRIM() around each set of fields that would make up a line.
Or you could use REGEX_REPLACE() to remove all white space next to a line break.
Overall, I find this sort of concatenation to be very long and there are many, many ways to concatenate text. Find a way that will make sense to your future self so that your future self will be able to maintain the formula.
Dec 04, 2023 05:28 AM
I do not understand where and how to use REGEX_REPLACE() to remove all white space next to a line break but I do know how to write it correctly. and what to put into () ?
Can you be more specific ?
thanks in advance
here's what I have so far and where should insert and write with REGEX_REPLACE (?????)