public String applyMask(String mask,String value){
  return (String)getMaskOrGetCursorIndex(mask,value,0,true);
}

public String applyMask ( String mask , String value ) { return ( String ) getMaskOrGetCursorIndex ( mask , value , 0 , true ) ; }
makes a masked value of a value
