Microsoft SDK for Java

matchex

This method of the WildcardExpression Class evaluates the expression on a string.

Syntax

public int matchex(String s);

Return Value

Returns the subexpression number if the expression accepts the string; returns -1 if the string was not accepted.

Parameters

s The string to evaluate the expression on.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.