[Gambas-user] new Quote()

Rob sourceforge-raindog2 at ...94...
Thu Jan 18 15:47:16 CET 2007


On Thursday 18 January 2007 06:33, Stefano Palmeri wrote:
> result: "\"hello\""
> I would expect ""hello""

The idea behind quoting functions is that they take any string 
and make it quotable before putting quote characters around it 
to make it readable by some automated parser, for example the 
ones used by SQL or Javascript (or Gambas itself.)  I don't 
think ""hello"" is readable by any language's parser (except VB, 
and then only within a string, not by itself.)

Rob




More information about the User mailing list