Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
A version of this page is also available for
4/8/2010
Returns True if the first argument string starts with the second argument string; otherwise returns False.
Syntax
boolean starts-with( string, string) |
Parameters
- string
-
A string.
- string
-
A string.
Return Value
Returns True if the first argument string starts with the second argument string; otherwise returns False.
Remarks
If an argument is not of type string,it is first converted to a string and then evaluated.
The following function call returns True.
Copy Code | |
---|---|
starts-with("mysampletest", "mysample") |