commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Colebourne" <scolebou...@btopenworld.com>
Subject Re: [lang] Mid - StringUtils Questions and Suggestions
Date Thu, 06 Mar 2003 22:26:30 GMT
> * Um, what's the difference between mid() and substring()?

mid (and left & right) are BASIC inspired methods. They differ from
substring in that
- they use length
- they do not throw index out of bounds exceptions

Stephen


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message