search

Home  >  Q&A  >  body text

The difference between single quotes and double quotes

Single quotation marks have stronger performance, but poor functionality

Double quotation marks can directly perform a simple analysis of the content of the string. For example, the performance of variables and special escape characters will be reduced accordingly

Generally use single quotes, if you reference a variable, consider using win-win numbers

Delimiter<<<name                               name; #

P粉698851581P粉698851581828 days ago2983

reply all(2)I'll reply

  • WBOY

    WBOY2022-09-22 14:55:19

    Single quotes cannot parse variables and escape characters, while double quotes and delimiters can parse variables and escape characters;

    Did you want to write notes in the course, but ended up writing them in the Q&A ( Dog head)

    reply
    0
  • P粉698851581

    Hey hey hey, yes

    P粉698851581 · 2022-09-25 16:12:51
  • Cancelreply