[gradsusr] embed newline characters in strings
Steven Weiss
sweiss at iafrica.com
Wed Apr 28 15:50:56 EDT 2010
Hi,
I'd like a function to return multiple lines for use with sublin. I'd struggling to embed a newline character into a string.
e.g.
rc = myfunc()
var1 = sublin(rc,1)
var2 = sublin(rc,2)
function myfunc()
myvar = "hello\r\nWorld"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20100428/7e382854/attachment-0003.html
More information about the gradsusr
mailing list