Here is goes, somebody else gave it me in the thread:
But the extension doesn't works separating?
looks like it haves problems with . I can't find any error in the code. it is strange.
@SimpleFunction(description = "put separators in numbers")
public String Separate(int number, String separator) {
String formattednumber = String.format(("%" + separator) + "d", number);
return formattednumber;
}