substringToIndex problem
substringToIndex problem
- Subject: substringToIndex problem
- From: "Peter Karlsson" <email@hidden>
- Date: Sat, 31 May 2003 18:38:11 +0000
Dear list!
Can someone please tell me why this does not work? All I want to do is: If
the string begins with 'Loop' I want to set the string to Loop.
if ([theValue substringToIndex: 4] == @"Loop")
{
theValue = @"Loop";
}
Peter
_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
_______________________________________________
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.