startswith
 startswith | 
   
  Purpose
 
 
 Check whether a text or string starts with a given string.
 
 
  Synopsis
 
 function startswith(txt:text|string, tofs:text|string):boolean
 function startswith(txt:text|string, tofs:text|string, start:integer):boolean
 
  Arguments
 
 | 
     
     txt 
       | 
   
     
     A string or text object
       | 
  
| 
     
     tofs 
       | 
   
     
     String to find
       | 
  
| 
     
     start 
       | 
   
     
     Starting position for the search
       | 
  
  Return value
 
 
 true if the beginning of
 txt corresponds to
 tofs.
 
  Related topics
 
  
  Module
 
 
