Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Split a string

Status
Not open for further replies.

4345487

Programmer
Dec 31, 2002
132
US
Hi,

What is the best method fo splitting a string. I'm using the StringUtils.split(stering,delimeter separator) but it tells me that this funtion is deprecated.

Thanaks
 
There is a split() method on the String class itself in 1.4. You use a regular expression to specify the split points.

Tim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top