[EmData] Using characters within field as separator
Joe Mathia - Em Support
support at emsoftware.com
Thu Jul 31 10:56:35 EDT 2008
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 don¹t 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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://emsoftware.com/pipermail/data-users/attachments/20080731/184ea71d/attachment.html
More information about the Data-users
mailing list