Delete leading zeroes
Does anyone know how to delete leading zeroes in a mapping ?
I don't think there is a standard function for this, or am I wrong ?
Michal Krawczyk replied
create a simple function that will use the code below:
String stringWithZeros = "0000123490";
String stringWithoutZeros = stringWithZeros.replaceFirst("^0+", "");
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions">XI FAQ - Frequently Asked Questions</a>