use of com.dexels.navajo.functions.CapString in project navajo by Dexels.
the class StandardFunctionsTest method testCapString.
@Test
public void testCapString() throws TMLExpressionException {
CapString t = new CapString();
t.reset();
t.insertStringOperand("012345678901234567890");
t.insertIntegerOperand(6);
String res = (String) t.evaluate();
System.err.println(">" + res + "<");
assertEquals("012345", res);
}