Topic: Apostrophe between two words

Hello everyone and thank you for your interest in my question.
In the Italian language in many cases the apostrophe is used between the articles and a word.
We know that in Pascal the apostrophe is used to enclose text, so if there is an apostrophe in the text you should, in theory, put a double apostrophe after the word that has the apostrophe in front of it.
Take for example this sentence: "Elimina l'immagine".

edit1.text := 'Elimina l'immagine''';  //three apostrophes after the word with the apostrophe in front

In this case it writes " Elimina l'immagine' ", i.e. with an apostrophe also at the end of the word. If I put only two apostrophes at the end of the word it gives me an error.
Would someone be kind enough to explain the method to me?
Thanks and greetings to all.

2 (edited by sparrow 2023-06-13 20:41:01)

Re: Apostrophe between two words

Hi Fabio


form1.Edit1.Text := 'Elimina l''immagine';

Two sequential apostrophes in a character string denote a single character, an apostrophe.

Re: Apostrophe between two words

Hi sparrow,
that's where the mystery was. A thousand thanks!