commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject [lang] StringUtils left and truncate
Date Wed, 15 Nov 2017 16:55:51 GMT
Hi All,

We have both StringUtils.left(String,int) and
StringUtils.truncate(String,int)

Can we deprecate truncate in favor of left (and add
StringUtils.left(String,int, int)) ?

I like left() better due to the symmetry with right().

Gary

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message