public endsWith ( int index, String s ) : bool | ||
index | int | |
s | String | |
Résultat | bool |
private bool endsWith(VTDNav vn) { String s2 = argumentList.next.e.evalString(vn); if (argumentList.e.NodeSet) { int a = evalFirstArgumentListNodeSet(vn); if (a == -1) return "".EndsWith(s2); else { try { int t = vn.getTokenType(a); if (t != VTDNav.TOKEN_STARTING_TAG && t != VTDNav.TOKEN_DOCUMENT) return vn.endsWith(a, s2); else return vn.XPathStringVal_EndsWith(a, s2); } catch (Exception e) { } return false; } } String s1 = argumentList.e.evalString(vn); return s1.EndsWith(s2); }