Page 1 of 1

Apostrophes

Posted: Sat Mar 11, 2023 9:36 pm
by richmond62
I can do this:

Code: Select all

put quote after fld "ff"
and I get " - double quotes.

How do I get a single apostrophe?

Re: Apostrophes

Posted: Sat Mar 11, 2023 9:47 pm
by Emily-Elizabeth

Code: Select all

put "'" after fld "ff"

Re: Apostrophes

Posted: Sat Mar 11, 2023 9:53 pm
by richmond62
Indeed, so I wonder why it did not work with me just now?

Thanks for bopping me on the nose. :D

I did this:

Code: Select all

put numToCodePoint(39) after fld "ff"

Re: Apostrophes

Posted: Sun Mar 12, 2023 11:47 pm
by dunbarx
Richmond,

Perhaps you were not clear in your post. Is there already text in that field with the last character being quote?

I assume so, but then why do you find it odd that your line of text appends another one? Quotes are just characters. Try doing it ten times. Lots of quotes...

Craig

Re: Apostrophes

Posted: Mon Mar 13, 2023 6:52 am
by richmond62
No, I did not find appending quotation mark odd, but I had some difficulty appending an apostrophe.

Re: Apostrophes

Posted: Mon Mar 13, 2023 3:53 pm
by dunbarx
Richmond.

What is your real issue here? An apostrophe (ASCII 39) is also just a character, like any other. Why can't you place one wherever you want to?

Craig