	@Test
	public void testXpathExamples3int() {

		Literal pattern = f.createLiteral("12345");
		Literal startIndex = f.createLiteral(2);
		Literal length = f.createLiteral(3);
		Literal result = substrFunc.evaluate(f, pattern, startIndex, length);
		assertEquals("234", result.getLabel());
	}