Trapping line breaks with a scanner
Trapping line breaks with a scanner
- Subject: Trapping line breaks with a scanner
- From: Zac Belado <email@hidden>
- Date: Sat, 16 Mar 2002 23:08:58 -0800
I am trying to build an NSCharacterSet with all three possible line breaks
in it. Am I correct in assuming that the following NSCharacterSet
NSCharacterSet *lineBreaks = [NSCharacterSet
characterSetWithCharactersInString:@"\r\n"];
will still catch Windows line breaks (\rn)?
TIA
--
Any fool can make a rule, and any fool will mind it.
Thoreau
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.