2021-09-06 11:56 AM - last edited on 2023-05-17 05:30 PM by Gordana Radonic
Hi there.
When I use the line separator \n function to create a line break for zone names, the '\n' still appears in the area schedule.
Is there a way to hide the '\n' in the schedule?
EX:
Cleaner\nStore (typed name for zone name)
Cleaner Store (displayed in zone name in plan)
Cleaner\nStore (displayed in schedule, but should display as Cleaner Store)
2021-09-06 02:08 PM
Hello,
Did you try to create a expression property with SUBSTITUTE command ?
2021-09-09 10:04 AM
Hi Christophe.
I'm not sure how to do that?
2021-09-09 02:30 PM - edited 2021-09-09 02:42 PM
What I think Christophe means is that you could go to the Property Manager Dialog and you could create a new Property for your Zone. This Property would be used for scheduling purposes, not the Zone Name. The Property would be defined by an Expression, in which you take the Zone Name and substitute the "\n" text within it with a SPACE character.
The below screenshot shows the exact Expression to use and the result in a Schedule.
One thing I found:
In the SUBSTITUTE command, I had to write "\\n" instead of "\n" because in the case of the latter it did not consider the "\" character.
Probably writing \\ is the way to explicitly tell the Expression Editor that you really meant the \ character.
2021-09-12 10:48 PM
Hi guys.
That is exactly what I'm looking for...
Thanks Laszlo for the tip, but I am really struggling to get this right. I keep on getting an error for the command. I have watched a few tutorials on this, but it is still going over my head.
Would you be so kind as to tell me step by step how to this?
So sorry for the inconvenience...
2021-09-13 06:17 AM
Show me a screenshot of where you get the error message and what it says.
2021-09-13 03:41 PM
I dont have permission to upload images...
The error reads as a syntax error...
2021-09-13 04:22 PM
There should be no problem attaching images.
Save your image file and then attach with the camera (image) icon when you compose your message.
I also discovered if you use a screen capture program, you can just capture the image to your clipboard and paste it in the reply.
Barry.
2021-09-13 04:29 PM
Ok... Here goes...
It didn't before... Sorry guys
2021-09-13 05:11 PM
What happens if you replace the COMMA (",") characters in the expression with SEMICOLONS (";")?