Thanks Allin.
Sent from my T-Mobile 4G LTE Device
-------- Original message --------
From: Allin Cottrell
Date:04/23/2014 6:36 AM (GMT-06:00)
To: Gretl list
Subject: Re: [Gretl-users] Questions about strings and string substitution
On Wed, 23 Apr 2014, Logan Kelly wrote:
Ok. Is there a way to use strsub() to add newline to a string?
<hansl>
string nl
sprintf nl "\n"
string target = "Something or other"
target ~= nl
printf "target = '%s'\n", target
</hansl>
Allin
_______________________________________________
Gretl-users mailing list
Gretl-users(a)lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users