QLingo

703 views
Skip to first unread message

Gee

unread,
Nov 30, 2011, 11:52:10 AM11/30/11
to XMPie Interest Group
Hello

I have some data the has a comma where there should be a CrLf is it
possible to replace the comma with a CrLf or force a line break
when it sees one in a specific field?

I've had a look in the edit rule and see there is Find, Find and
replace , force line break but am new to Xmpie and Qlingo so not up
to
speed with Qlingo yet.

Cheers

George Marsh

unread,
Nov 30, 2011, 2:27:42 PM11/30/11
to xmpie...@googlegroups.com
Do you need a line break or end of paragraph?

In QLingo,

\n = forced line break
\r = new paragraph

So you should be able to do something like FindAndReplace(|->[Field], "," "\n")

I don't have access to the docs so syntax might be wrong - please check.

Try it and see what happens. In InDesign turn on hidden characters to
see if working as intended

Message has been deleted

Gee

unread,
Dec 1, 2011, 11:14:37 AM12/1/11
to XMPie Interest Group

Thanks for that George, Just needed to add a comma in.

In case your interested the syntax is

FindAndReplace(|->[Field], ", ", "\n")

Thanks again

Tito Lim

unread,
Feb 26, 2013, 2:52:53 PM2/26/13
to xmpie...@googlegroups.com, gareth....@googlemail.com
Is it possible with the QLingo language to replace a CrLf with <br /> ?

Thanks,

TITO

Mark Kuehn

unread,
Feb 26, 2013, 9:13:08 PM2/26/13
to xmpie...@googlegroups.com
Try

FindAndReplace(|->[Field], "\r\n", "<br />")

-Mark

Sent from my iPad
--
You received this message because you are subscribed to the Google Groups "XMPie Interest Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xmpie-users...@googlegroups.com.
To post to this group, send email to xmpie...@googlegroups.com.
Visit this group at http://groups.google.com/group/xmpie-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply all
Reply to author
Forward
0 new messages