[EmData] Using characters within field as separator
stephen_ball
stephen_ball at eu.shr2shr.com
Thu Jul 31 11:21:59 EDT 2008
Hi Emma / Joe,
Using:
«set itemdelimiter to .¶
«trim(item 1 of field1)» «trim(item 1 of field2)»¶
Will work for what I need as I now have an identifier for separation
within the fields.
Many thanks.
Stephen.
-----Original Message-----
From: Joe Mathia - Em Support [mailto:support at emsoftware.com]
Sent: 31 July 2008 15:57
To: Emma Glaisher; stephen_ball at eu.shr2shr.com;
data-users at emsoftware.com
Subject: Re: [EmData] Using characters within field as separator
Hi Emma,
Hmm, I took my data example from his first email, where he did have two
comma-delimited fields.
But, I could be wrong!
Stephen, could you lease clarify?
Regards,
Joe Mathia
Em Software Support / support at emsoftware.com / www.emsoftware.com
(+1) 740 284 1010, fax (+1) 740 284 1210
On 7/31/08 9:49 AM, "Emma Glaisher" <emma.glaisher at fourninety.com>
wrote:
No, Joe, I dont think so.
It looks as if Stephen is using the word field where we would use
record.
Each record contains 5 fields, separated by the bullet character.
Field 1 is Czech, field 2 is Slovak, field 3 is Polish, field 4 is
Hungarian, field 5 is Turkish.
Stephen wants the Czech words together i.e. field 1 of each record,
then the Slovak words i.e. field 2 of each record.
That is why I thought he would need to use an array. Depending on how
many records there are, of course. From his original mail I think there
are only 9, in which case why use XData at all?
How about 5 different prototypes, just changing the field number each
time?
Emma
on 31.07.2008 15:41, Joe Mathia - Em Support at support at emsoftware.com
wrote:
Hi Stephen and Emma,
>From what I understand, the data looks something like this (this is 3
records, each containing 2 fields):
bavlna . bavlna . bawe<\#U0142>na . pamut . pamuk,nylon woven . nylon
wav . nylon wen . nylon vew . naylon wev
bavlna1 . bavlna1 . bawe<\#U0142>na1 . pamut1 . pamuk1,nylon1woven .
nylon1wav . nylon1 wen . nylon1 vew . naylon1 wev
bavlna2 . bavlna2 . bawe<\#U0142>na2 . pamut2 . pamuk2,nylon woven2 .
nylon wav2 . nylon2 wen . nylon2 vew . naylon2 wev
If this is the case, a simple prototype like this will do the trick:
«fields field1,field2¶
«set itemdelimiter to .¶
«trim(item 1 of field1)» «trim(item 1 of field2)»¶
«trim(item 2 of field1)» «trim(item 2 of field2)»¶
«trim(item 3 of field1)» «trim(item 3 of field2)»¶
«trim(item 4 of field1)» «trim(item 4 of field2)»¶
«trim(item 5 of field1)» «trim(item 5 of field2)»¶
¶
Have a look at the attached do an import from pasteboard. Its a QX7
doc. Let me know if you need it in InDesign.
Does this help?
Regards,
- -
Fourninety Limited, a member company of the Media Square plc group.
Registered in England No. 3737606. Registered address Clarence Mill,
Clarence Road, Bollington, Cheshire. SK10 5JZ
Confidentiality Notice: The information in this document and any
attachments are confidential. It is intended only for the use of the
named recipient. If you are not the intended recipient please notify us
immediately and delete this document. The contents on this document must
not be disclosed to any other person nor may any copies be taken. The
views of the author may not represent the views of the Company.
Security Warning: This e-mail has been created in the knowledge that
Internet e-mail is not a 100% secure communications medium. All
liability for any claims arising as a result of using this medium to
transmit information by us or to us is excluded to the extent permitted
by law.
This e-mail is private and may be confidential and is for the intended recipient only. If misdirected, please notify us by telephone and confirm that it has been deleted from your system and any copies destroyed. If you are not the intended recipient you are strictly prohibited from using, printing, copying, distributing or disseminating this e-mail or any information contained in it.
* * * * * * * * * * * * * * * * * * * * * * * * * *
We use reasonable endeavours to virus scan all E-mails leaving the firm but no warranty is given that this E-mail and any attachments are virus free. You should undertake your own virus checking. The right to monitor E-mail communications through our networks is reserved by us.
Shore To Shore
Your Global Source for Tags, Labels and Brand Packaging Solutions.
www.shr2shr.com
More information about the Data-users
mailing list