-
Java line break
This is an example of my java:
<param name="desc0-0" value="0|NG-99 Base & Transfer Drive MEBM4326-9096">
for a scrolling tree menu.
Ideally, I'd like to split the "value" between part name and number, having
the part number on the following line.
I've tried splitting quotes, \r, \n, and +, but I'm really shooting in the
dark. Help!
Thank you in advance.
Eric Marschall
-
Re: Java line break
You should have a clear delimiter between part name and partnumber. If you
a have a constant delimiter you can use StringTokenizer. Try to get some
pattern to differentiate partname and part number you can delimt.
"Eric marschall" <emarschall@ppipubs.com> wrote:
>
>This is an example of my java:
><param name="desc0-0" value="0|NG-99 Base & Transfer Drive MEBM4326-9096">
>for a scrolling tree menu.
>Ideally, I'd like to split the "value" between part name and number, having
>the part number on the following line.
>I've tried splitting quotes, \r, \n, and +, but I'm really shooting in the
>dark. Help!
>
>Thank you in advance.
>
>Eric Marschall
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks