Tamarin:Strings: Difference between revisions

m
(New page: == Tamarin:Strings == The implementation of Tamarin strings has changed. This page is a how-to about the changes, and what can be done to adapt source code to the changes. For implementa...)
 
Line 86: Line 86:
   Stringp s = ...;
   Stringp s = ...;
   if (s->matches ("<?xml", 5)) ...
   if (s->matches ("<?xml", 5)) ...
   else if (s->matches ("<!--", 4)) ...
   else if (s->matches ("<![CDATA[", 9)) ...


   if (s->indexOf (":")) < 0) ...
   if (s->indexOf (":")) < 0) ...
55

edits