probably a trivial question...

WhatMeWorry kheaser at gmail.com
Thu Oct 13 23:43:54 UTC 2022


I was a little (nicely) surprised that I could use double quotes, 
single quotes, or back ticks in the following line of code.

return s.split(";");  // double quotes
or
return s.split(';');  // single quotes
or
return s.split(`;`);  // back ticks

Does D provide any guidance as to what is preferred or are they 
identical for all intents and purposes?


More information about the Digitalmars-d-learn mailing list