다음을 통해 공유


starts-with Function (Windows Embedded CE 6.0)

1/6/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.

starts-with("mysampletest", "mysample")

See Also

Reference

XPath String Functions