public String deleteCharsLeft(String chain, String symbol, Container container) throws StreamTransformationException{
char charSymbol=symbol.charAt(0);
for(int i=0;i<chain.length();i++){
if (chain.charAt(i) != charSymbol){
return chain.substring(i,chain.length());
}
}
return "";
It may be the case but even with format number i was facing the same issue with the difference being a different error , Cannot cast 6><000000001014 to format number function.