Jump to content

Need a lil bit of help Strings / Ints from line of text!


moler

Recommended Posts

umm, looking at the regex methods, I might not always no when the word I'm looking for will start, but if I no the word before it, and the word after it, can I grab all the text from between that? e.g.

brown hair, blue eyes, pink lipstick, purple glasses

 

say I just wonted to grab - pink, it might not always be in the same place, but it will always be between = eyes, lipstick

 btw i really appreciate all the help, I'm really wonting to learn java well, not just for runescape, tryin many different things :)

Link to comment
Share on other sites

ok iv get that working, thanks guys, o 1 last thing, iv got a built GUI in netbeans, but my main script is being built in eclipse,  is there anything I need to do to make them work together? iv added all the command in the gui and built the start button, just not 100% sure how to attach them, do I just copy the GUI.class from netbean into eclipse under the main script class? thanks agen guys, much appreciated with the regex help 2day :)

Link to comment
Share on other sites

ok iv get that working, thanks guys, o 1 last thing, iv got a built GUI in netbeans, but my main script is being built in eclipse,  is there anything I need to do to make them work together? iv added all the command in the gui and built the start button, just not 100% sure how to attach them, do I just copy the GUI.class from netbean into eclipse under the main script class? thanks agen guys, much appreciated with the regex help 2day smile.png

 

eclipse has a WindowBuilder too, give it a go and see but ive never used Netbeans.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...