Home | History | Annotate | Download | only in cs
      1 
      2 <?cs var:Foo ?>
      3 <?cs loop:b=0,10 ?>
      4 <?cs loop:e=10,0,-1 ?>
      5 <?cs var:string.slice(Foo, b, e) ?>
      6 <?cs /loop ?>
      7 <?cs /loop ?>
      8 
      9 Check end of string slice:
     10 <?cs var:string.slice(Foo, -5, -1) ?>
     11 <?cs var:string.slice(Foo, -5, 0) ?>
     12