Returns whether this path starts with the given prefix.
Example:
var path = new Path ("/home/user/docs");
assert (path.startsWith ("/home") == true);
| prefix |
the prefix to check. |
|
true if the path starts with the prefix. |