----- Original Message ----- From: "Signe Marie Sanne" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 01, 2001 5:12 AM Subject: About Mac-text
--- snip --- > > Question to you: if I want to replace or find out about CR and LF, > how do I proceed in Metacard? Last char of a line will render the > chartonum (last char) which is the actual (visible) last letter in a > string. True - in the same way that the last char of a word is not a space, and the last char of an item is not a comma (or itemDel). Is there a pattern here? (The chunk delimiter isn't part of the chunk.) In your "replace" command or "offset()" function, use chunks that *contain* the delimiters you want to replace - then it'll work. If you're looking for line delimiters, you'll probably need to use chunks that contain lines - maybe the whole file, or at least a multi-line section of the file. Regards, Phil > > Thanks again to all of you. > > -- > > 1. amanuensis Signe Marie Sanne e-mail: [EMAIL PROTECTED] > Romansk Institutt tel: +47 55 58 21 27 > Oysteins gt. 1 > 5007 Bergen http://www.hf.uib.no/hfolk/mlab/default.html > Norway > > > Archives: http://www.mail-archive.com/[email protected]/ > Info: http://www.xworlds.com/metacard/mailinglist.htm > Please send bug reports to <[EMAIL PROTECTED]>, not this list. > Archives: http://www.mail-archive.com/[email protected]/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to <[EMAIL PROTECTED]>, not this list.
