Jump to content

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


Recommended Posts

Posted

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 :)

Posted

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 :)

Posted

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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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