How to find quote and double quote position

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
nodochau
Pro Scripter
Posts: 135
Joined: Wed Jan 16, 2019 12:59 pm

How to find quote and double quote position

Post by nodochau » Mon Oct 11, 2021 7:24 pm

Hello All,
I have a text = 0’ 2”
How to find the position of those quotes?
Thanks

User avatar
Dorian (MJT support)
Automation Wizard
Posts: 1386
Joined: Sun Nov 03, 2002 3:19 am
Contact:

Re: How to find quote and double quote position

Post by Dorian (MJT support) » Mon Oct 11, 2021 7:45 pm

Position does this :

Code: Select all

Let>text=0’ 2”
Position>’,text,1,PosSingle
Position>”,text,1,PosDouble
mdl>PosSingle
mdl>PosDouble
Yes, we have a Custom Scripting Service. Message me or go here

nodochau
Pro Scripter
Posts: 135
Joined: Wed Jan 16, 2019 12:59 pm

Re: How to find quote and double quote position

Post by nodochau » Tue Oct 12, 2021 9:59 am

Thanks Dorian but it is not single or double quote on the keyboard.
I tried it but did not work. That text is extracted from my pdf files and I think it is different formatted.

User avatar
Dorian (MJT support)
Automation Wizard
Posts: 1386
Joined: Sun Nov 03, 2002 3:19 am
Contact:

Re: How to find quote and double quote position

Post by Dorian (MJT support) » Tue Oct 12, 2021 11:07 am

It worked for me when I simply cut and pasted your characters. When I typed ' and ", the values were 0. So try cutting and pasting them from your source to ensure they're correct.
Yes, we have a Custom Scripting Service. Message me or go here

nodochau
Pro Scripter
Posts: 135
Joined: Wed Jan 16, 2019 12:59 pm

Re: How to find quote and double quote position

Post by nodochau » Tue Oct 12, 2021 12:09 pm

Thanks Dorian.
Copy and paste. Easy :)

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts