Got more questions? Find advice on:
ASP
|
SQL
|
XML
|
Windows
in
Construction Advice (forum)
Regular Expressions (group)
(Entire Site)
Search
Welcome to RegexAdvice
Sign in
|
Join
|
Help
Home
Blogs
Forums
Photos
Downloads
RegexAdvice
»
Regular Expressions
»
Construction Advice
»
Re: Regex needed for java string.
Regex needed for java string.
Last post 05-15-2008, 4:01 PM by
gliesian
. 2 replies.
Sort Posts:
Oldest to newest
Newest to oldest
Previous
Next
05-15-2008, 3:19 PM
42315
gliesian
Joined on 04-10-2008
Posts 2
Regex needed for java string.
Reply
Quote
How about Java code to turn aaaXbbbXcccXddd into four strings having values of aaa, bbb, ccc and ddd?
Report abuse
05-15-2008, 3:46 PM
42316
in reply to
42315
Sergei Z
Joined on 07-20-2005
Jacksonville, Fl USA
Posts 2,528
Re: Regex needed for java string.
Reply
Quote
how about splitting the string by using generic String.Split() function with the delimiter 'X'.
Report abuse
05-15-2008, 4:01 PM
42317
in reply to
42316
gliesian
Joined on 04-10-2008
Posts 2
Re: Regex needed for java string.
Reply
Quote
;) Thanks.
Report abuse
Got more questions? Find advice on:
ASP
|
SQL
|
XML
|
Windows
|
About regexadvice.com
|
Privacy Policy
|
ASP.NET Tutorials
|
Advertise
Copyright ©2005 DevAdvice.com