Bruce, I have also experienced the second apostrophe being placed in the email Variable shows: Come to Bill’s Party! But in the email is shows: Come to Bill’’s Party!! Could not figure how to get rid of it, so instead I replace the ‘’ with a `. Bill`s looks slightly better than Bill‘’s
Regards Lena [cid:[email protected]]<http://www.qmiusa.com/> Lena Dammstrom Software Developer Email: [email protected]<mailto:[email protected]> Toll Free: 800-446-2500 International: 01 630-529-7111 Extension: 1037 www.qmiusa.com<http://www.qmiusa.com> . ________________________________ This email may contain material that is confidential, privileged and/or attorney work product for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies From: [email protected] [mailto:[email protected]] On Behalf Of Bruce Chitiea Sent: Sunday, May 01, 2016 12:50 PM To: [email protected] Subject: [RBASE-L] - Fw: RMailx Plugin: Apostrophe Anomaly Buddy: Much appreciated. Note: The brackets [ ] aren't part of the variable; they're just there to segregate code & result strings from commentary. Here's what I ran: SET VAR vSYNTAX_Invitation = ('vResult|ADD_TO_MESSAGE_BODY Come to Bill' + .vApos + 's Party!') SET VAR vCompleteCodeLine TEXT = NULL SET VAR vCompleteCodeLine = ('PLUGIN RMail' & .vApos + .vSYNTAX_Invitation + .vApos) . DEBUG SET VAR vPauseMessage = .vCompleteCodeLine DEBUG PAUSE 1 USING .vPauseMessage -- -- Which displays: [ 'vResult|ADD_TO_MESSAGE_BODY Come to Bill's Party!' ] as predicted and desired. -- &vCompleteCodeLine . RMail vResult|SEND . ********** The second apostrophe is not present in the sent message; rather, replaced by a <space>: [ Come to Bill' s Party! ]. I cannot for the life of me see where a <space> would be introduced after the apostrophe. Thoughts? Or R:BASE support? Really appreciate your help and attention. Bruce ------ Original Message ------ Sent: 5/1/2016 10:22:16 AM Subject: RE: [RBASE-L] - RMailx Plugin: Apostrophe Anomaly From: "Buddy Walker" <[email protected]<mailto:[email protected]>> To: [email protected]<mailto:[email protected]> Cc: Bruce Try building the complete syntax into a variable as such SET VAR vSYNTAX_Invitation = ('vResult|ADD_TO_MESSAGE_BODY [Come to Bill' + .vApos + 's Party!]') SET VAR vCompleteCodeLine TEXT SET VAR vCompleteCodeLine = ('PLUGIN RMAIL' & .vApos + .vSYNTAX_Invitation + .vApos) Now replace line PLUGIN RMAIL .vSYNTAX_Invitation with this &vCompleteCodeLine Buddy From: [email protected]<mailto:[email protected]> [mailto:[email protected]<mailto:[email protected]>] On Behalf Of Bruce Chitiea Sent: Sunday, May 1, 2016 12:33 PM To: [email protected]<mailto:[email protected]> Subject: [RBASE-L] - RMailx Plugin: Apostrophe Anomaly All: RBGXE - 10.0.1.20414 RMailX - Latest Note: [ ] brackets isolate strings of interest from surrounding text. While testing message construction with the [ SET VAR vApostrophe = '''' ] trick in RMailX, I experience: An "Invitation" text variable builds correctly: [ Come to Bill's Party! ] with a single apostrophe. But that text appears in the email as: [ Come to Bill''s Party! ] with a double apostrophe. Looping Code (stripped down): SET VAR vApos TEXT = NULL SET VAR vSYNTAX_Invitation TEXT = NULL SET VAR vApos = '''' . LABEL Loop0_Enter . SET VAR vSYNTAX_Invitation = ('vResult|ADD_TO_MESSAGE_BODY Come to Bill' + .vApos + 's Party!') . DEBUG SET VAR vPauseMessage = .vSYNTAX_Invitation DEBUG PAUSE 1 USING .vPauseMessage . -- vPauseMessage reads: [ Come to Bill's Party! ] with the single apostrophe. . PLUGIN RMail vResult|SHOW LOG . PLUGIN RMail .vSYNTAX_Invitation . PLUGIN RMail vResult|SEND . SET VAR .vSYNTAX_Invitation = NULL . GOTO Loop0_Enter LABEL Loop0_Exit ****************** The variable text appears in the message as: [ Come to Bill''s Party ] with a double apostrophe. ?? Bruce Chitiea SafeSectors, Inc. 909.238.9012 Mobile -- -- You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

