reverse searching
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