Welcome to the new Schneider Electric Community

It's your place to connect with experts and peers, get continuous support, and share knowledge.

  • Explore the new navigation for even easier access to your community.
  • Bookmark and use our new, easy-to-remember address (community.se.com).
  • Get ready for more content and an improved experience.

Contact SchneiderCommunity.Support@se.com if you have any questions.

Close
Invite a Co-worker
Send a co-worker an invite to the Exchange portal.Just enter their email address and we’ll connect them to register. After joining, they will belong to the same company.
Send Invite Cancel
84650members
353990posts

Text Expression with Carriage Return

EcoStruxure Geo SCADA Expert Forum

Find out how SCADA systems and networks, like EcoStruxure Geo SCADA Expert, help industrial organizations maintaining efficiency, processing data for smarter decision making with IoT, RTU and PLC devices.

Solved
Tanquen
Lt. Commander
Lt. Commander
0 Likes
2
846

Text Expression with Carriage Return

Looking for a way to add a carriage return into a text animation expression. 

 

IIF( TRUE, 'Tripped', 'Open' )

 

Would like to add a new line or carriage return after each letter in text like “tripped” so that each letter has its own line in a tall narrow text box.

 

I could use a mono spaced font to get it to work but then it looks pretty bad.

Tags (1)

Accepted Solutions
scadacarey
Crewman
Crewman
0 Likes
1
843

Re: Text Expression with Carriage Return

In between the characters you can insert + CHR(10) +  .

 

For example, the expression:

 

'S' + CHR(10) + 'T' + CHR(10) + 'O' + CHR(10) + 'P'

 

to show:

 

S

T

O

P

See Answer In Context

Tags (1)
2 Replies 2
scadacarey
Crewman
Crewman
0 Likes
1
844

Re: Text Expression with Carriage Return

In between the characters you can insert + CHR(10) +  .

 

For example, the expression:

 

'S' + CHR(10) + 'T' + CHR(10) + 'O' + CHR(10) + 'P'

 

to show:

 

S

T

O

P

Tags (1)
Tanquen
Lt. Commander
Lt. Commander
0 Likes
0
838

Re: Text Expression with Carriage Return

Thanks, had I just searched for CHR and not CHR() I would have found it. I've inserted characters before in VBA I don't know why I just didn't try it. Got stuck looking through the standard expressions instead.

Tags (1)