File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Parse String

 
m brymer
Ranch Hand
Posts: 64
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a child window that lets the user choose a company which on clicking submit closes the child window and populates the parent with the company name. I want to add a second field to pass to the parent window. So I concatenated the 2 fields but I need to break them up before I send them to the parent. Example: companyname;orgid I need to put the companyname in 1 field and the orgid in the 2nd field on the parent form. Is there a way that I can separate these fields by maybe a substring?
Thanks.
 
m brymer
Ranch Hand
Posts: 64
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Got It!
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
use the split() method?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic