• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
reverse searching
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

reverse searching


  • Subject: reverse searching
  • From: Robert Dell <email@hidden>
  • Date: Sat, 22 Oct 2005 13:55:54 -0400

I would like to know if any of you have found a way to reverse search a string for the "last" occurance of something like "\n"
i'm looking to see if something like this
"this room is this description\nYou also see: a broadsword,\n"
and the line coming in has this "and a small ruby."
I want to know if the last line has "You also see:" as the first characters so i can delete the \n at the end and append the ruby into the description.
other than rolling through thousands of possible lines (most likely not but who knows) or reverse searching it character by character, I have no way of knowing it is the last line.


_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: reverse searching
      • From: Cameron Hayne <email@hidden>
    • Re: reverse searching
      • From: Andy Lee <email@hidden>
  • Prev by Date: Re: Speeding up XCode?
  • Next by Date: Re: reverse searching
  • Previous by thread: Re: Proper address for Xcode feedback
  • Next by thread: Re: reverse searching
  • Index(es):
    • Date
    • Thread