startswith()

Function groupExecute on clientPlatform(s)
StringYESAll

Syntax

startswith(string,start[,ignorecase=kfalse])

Description

Returns true if the string starts with the non-empty string start. If ignorecase is kTrue, the function uses case-insensitive comparison

Example

Calculate
 
lString
 as 
'Fast prototyping'

 
If
 
startswith
(
lString
,
'Fast'
)

  
# returned True

End If
 
 
Calculate
 
lBoolean
 as 
startswith
(
lString
,
'FAST'
,
kTrue
)

# lBoolean = True