Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
prma7799
Master III
Master III

String function

Hi All,

I want to know what is chr(13) and chr(10) and what is uses of them.

Thanks

Prashant

6 Replies
rubenmarin

Hi Prashant, it's translated as the ASCII code.

chr(13) = Carriage Return

chr(10) = Line feed

these are used to insert a new line.

maxgro
MVP
MVP

ascii code (decimal)

10 line feed, newline

13 carriage return

example in text object

1.jpg

Not applicable

Hi,

chr(10) and chr(13) : new line functions.

See the attached

Regards,

Joshmi

PrashantSangle

Hi,

These are ASCII character

Chr(13) for Carriage Return

and Chr(10) for New Line

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
prma7799
Master III
Master III
Author

chr(10) and chr(13) both output is same

then what is main difference

rubenmarin

I don't think therar are differences in QV, btw i found some situations where chr doesn't works and i set an intro between quotes, is the same:

='First line

Second Line'

Chr(13) and Chr(10) can have different behaviour in some text processors or when sending info to a printer.