Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Find & Erase
#1
Hello QM Forum,

I am working on making a contact list transfer for yahoo messenger. Its a pretty simple concept, it just grabs the names of all the acc's in the buddy list once set to show yahooid's then saves them to a list then adds them to your new yahoo. What I am asking for help with is how to erase all characters after the "-" symbol is found. Using a.name; when outed the contact will look like this: "yahooid - " and have several spaces after. This isn't a big deal because I am able to use replacerx to get rid of the " - ", but if they have a status It will end up with an output of this: "yahooidhelloworlditsbeenawhile".

Is there a way like/using if(findrx( to find the "-" and delete everything to the right?

If this is possible I would appreciate the help to where I can go to find out how to do this, thanks for your time.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)