How can we help you today?

How can I introduce a control character "carriage return" in a String? String = "message"+ CR (carriage return)

Goals and Symptoms

How can I introduce a control character "carriage return" in a String?

String = "message"+ CR (carriage return)

Facts and Changes

Vijéo-Designer V4.2

Causes and Fixes

In Java, the "carriage return" character is "\n". So, to insert a carriage return into a string, use this character in a string concatenation expression.
The file name is: "carriage return.zip".
The script action inside the switch, You will see the syntax for string concatenation and how the carriage return character is used.
carriage return.zip

Schneider Electric Ireland

Discuss this topic with experts

Visit our community and get advice from experts and peers on this topic and more

Explore more

Need help?

Product Selector

Quickly and easily find the right products and accessories for your applications.

Where to buy?

Easily find the nearest Schneider Electric distributor in your location.

Help Centre

Search topic-related frequently asked questions to find answers you need.