Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
14 replies
Subscribers
7 subscribers
Views
6747 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
How to give CRLF (carriage return line feed) in Appian. Eg:- "ABC"
phanibabuk
over 10 years ago
How to give CRLF (carriage return line feed) in Appian.
Eg:- "ABC" CRLF "EFG" should return
ABC
EFG
Please provide inputs asap....
OriginalPostID-129047
OriginalPostID-129047
Discussion posts and replies are publicly visible
0
Aleksi White
Appian Employee
over 10 years ago
forum.appian.com/.../e-106291
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
phanibabuk
over 10 years ago
char(10) or char(13) doesn't seem to work.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
phanibabuk
over 10 years ago
I tried the following:
="ABC" & char(13) & "XYZ"
It returned me simple ABC XYZ instead of
ABC
XYZ
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Aleksi White
Appian Employee
over 10 years ago
Are you using this in a SAIL form, or in the forms designer?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
phanibabuk
over 10 years ago
I wanted to use in both the places.
Currently, I am calling this from within a rule.
Please provide your inputs.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Aleksi White
Appian Employee
over 10 years ago
I ran a quick test with using char(10) and char(13) in paragraph fields in both SAIL and forms designer, and can confirm that it works in both those situations. I tried by hardcoding the string, as well as using a rule as a reference, and it worked in every case. The only place it did not work was directly in the expressions editor. Is that where you've tested so far?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
phanibabuk
over 10 years ago
Yes.
Could you please sent me that piece of code.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Aleksi White
Appian Employee
over 10 years ago
It's the same as the one you posted above.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
phanibabuk
over 10 years ago
Hi,
I defined 2 variables and used the following function:
=firstInput & char(10) & secondInput
It did not return CRLF.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Aleksi White
Appian Employee
over 10 years ago
It works for me when using rule inputs. I defined
ri!one & char(13) & ri!two
Where both rule inputs are text. I then used this rule as the value for a paragraph field, passed in a couple strings, and it displayed the CRLF properly
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
>