Cancel
Showing results for 
Search instead for 
Did you mean: 

Line Break in string

Valued Contributor
Valued Contributor

hi,

 

how can i add a Line Break to a string ? So for eg. (Pseudocode)

-- Method
is
do
  ref(Method1).program := ref(Method1).program + "\n-- test";
end;

and then the Method1 code should be

-- Method1
is
do
end;
-- test

 

 

 

 

1 REPLY

Re: Line Break in string

Siemens Phenom Siemens Phenom
Siemens Phenom
ref(Method1).program := to_str(ref(Method1).program, chr(10), "-- test");
_________________________________________________________________
Did you like the answer? Then click the Thumbs Up button.
Did the answer solve your problem? Then accept the answer as solution.