User Tools

Site Tools


syntax:functions:startswith

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
syntax:functions:startswith [2014/09/16 22:05] – created dmitrysyntax:functions:startswith [2015/04/03 18:16] elenap
Line 1: Line 1:
 ====== StartsWith(textA, textB) ====== ====== StartsWith(textA, textB) ======
  
-True, if first text string (textA) starts with the other (textB)Case sensitive.+A search function used to check if the first string of text starts with the specific text.  
 + 
 +It returns TRUE if //textA// starts with //textB//, otherwise it returns FALSEThis function is case sensitive.
  
 ^  Example  ^  Result  ^ ^  Example  ^  Result  ^
-| startswith('Crimea', 'Crime' |  True | +| startswith( 'Crimea', 'Crime' )  |  True | 
-| startswith('IBM', 'i' |  False |+| startswith( 'IBM', 'i' )  |  False |
  
 +=== See also ===
 +  * [[syntax:functions:endswith]]
 +  * [[syntax:functions:find]]
 +  * [[syntax:functions:contains]]
syntax/functions/startswith.txt · Last modified: 2021/08/14 19:01 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki