FROM : Chris Ruzin
DATE : Fri Jan 11 14:20:59 2002
Yep,
I knew it was a brain fart. Thanks Andreas for the help. I used
NSScanner and it works like a charm.
Chris
On Thursday, January 10, 2002, at 04:23 PM, Andreas Monitzer wrote:
> On Thursday, January 10, 2002, at 10:51 , Chris Ruzin wrote:
>
>> I know I'm having a brain fart on this one, but what's the best way to
>> find a substring? Say I've got a string like this:
>>
>> <A HREF="" target="new">Quotations</a>
>>
>> I only want http://www.quotationspage.com/ out of it. How do I do
>> this?
>
> Use regexps (search list archive) or NSScanner.
>
> andy
>
> _______________________________________________
> MacOSX-dev mailing list
> <email_removed>
> http://www.omnigroup.com/mailman/listinfo/macosx-dev
>
DATE : Fri Jan 11 14:20:59 2002
Yep,
I knew it was a brain fart. Thanks Andreas for the help. I used
NSScanner and it works like a charm.
Chris
On Thursday, January 10, 2002, at 04:23 PM, Andreas Monitzer wrote:
> On Thursday, January 10, 2002, at 10:51 , Chris Ruzin wrote:
>
>> I know I'm having a brain fart on this one, but what's the best way to
>> find a substring? Say I've got a string like this:
>>
>> <A HREF="" target="new">Quotations</a>
>>
>> I only want http://www.quotationspage.com/ out of it. How do I do
>> this?
>
> Use regexps (search list archive) or NSScanner.
>
> andy
>
> _______________________________________________
> MacOSX-dev mailing list
> <email_removed>
> http://www.omnigroup.com/mailman/listinfo/macosx-dev
>
| Related mails | Author | Date |
|---|---|---|
| Chris Ruzin | Jan 10, 14:01 | |
| Andreas Monitzer | Jan 10, 14:24 | |
| Chris Ruzin | Jan 11, 14:20 |






Cocoa mail archive

