Skip to main content
15-Moonstone
Solved

String Functions - New Line Command

I am working on a project that requires a lot of text to be imported in a Prime 6 worksheet.  The text is reformat and saved to a Excel worksheet to improve its presentation.  This is pretty straight forward as shown on the attached PDF file.  (The Prime worksheet and support excel files are too big to post).  In going through the string commands, there is an option for new line command \n.  I have seen this in other programs, but not sure how to use it Prime.  There may be cases for it use.  

LucMeekesAnswer
23-Emerald V
CR and LF , the Carriage Return and Line Feed are ASCII character numbers 13 and 10 respectively. You can create them as a string with vec2str(stack (13,10)) and concatenate them to another string.
Success!
Luc

6 replies

LucMeekes23-Emerald VAnswer
23-Emerald V
CR and LF , the Carriage Return and Line Feed are ASCII character numbers 13 and 10 respectively. You can create them as a string with vec2str(stack (13,10)) and concatenate them to another string.
Success!
Luc
Translate
tietjee15-MoonstoneAuthor
15-Moonstone

Luc,  Thank you the information.  Works with other ASCII characters, should have remebered

David

Translate