Print Document

Continues String and Concatenated String
Version 01
Release Date 01 Jan 2021
Type SAP Documents
Status Released

Sting Concatenation

Sting Concatenation is achieved using  "+" symbol which would concatenate different string

String1 = "Learing JS is Fun";
String2 = "I will continue learning";
String3 = "Goodbye";

StringMsg = String1 + String2 + String3

 

Splitting Continues String

Sometimes there would be only one long string and to split the string into multiple lines "\" is used.

Please note that in this case the string is one , but for the sake of readability it is split to multiple lines.

StringComplete = "This is very long string spanning across multiple lines \
                  I am using the special key for this purpose \
                  Continue with more details" 

 


Table of contents

Technical Documents
Configuration Guide
External Reference
SAP Note
SDN Links
Messages
Sample Code