Adrian Crum wrote:
> Hans,

>> ==============================================================================
>>
>> --- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilParse.java
>> (original)
>> +++ ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilParse.java
>> Thu Jun 11 02:14:32 2009
>> @@ -35,4 +35,17 @@
>>          }
>>          return new BigDecimal(bigDecimalString);
>>      }
>> +
>> +    /**
>> +     * +     * to be used in minilanguage to remove all occurrencies
>> of removeString from inputString
>> +     * +     * @param inputString
>> +     * @param removeString
>> +     * @return
>> +     */
>> +    public static String removeStringFromString(String inputString,
>> String removeString) {
>> +        return(inputString.replaceAll(removeString, ""));
>> +    }
>> +

Please follow ofbiz code formatting guidelines.  Remove the () around
the expression(not needed), and put a space after return.

Reply via email to