I'm parsing HTML and I've got several strings that act as patterns, like
Code: Select all
put "</table" into laCleFinTable
Code: Select all
constant laCleFinTable = "</table"
Code: Select all
put "<table class=""e&"table table2""e&" id=""e&"partants_table_" into laCleDebutTable
Did I get it correctly? or is there a way to write a string constant containing quotes?
BTW, some languages allow you to write constants like:
Code: Select all
constant laCleDebutTable = "<table class=\"table table2\" id=\"partants_table_" -- see example above
constant ten = 2*5 -- kind of silly, of course
constant pi = arcCos(-1) -- not as silly as it seems