SANDBOX-483 Incorporate String algorithms from Commons Lang