#960: Add trim option for the stringLength validator