String Contains String
String Contains String
- Subject: String Contains String
- From: Andrew James <email@hidden>
- Date: Fri, 1 Jun 2007 00:32:15 +0930
Hi,
Is there a way to check if a string contains a string? what i am
attempting to do is get the results of pmset -g and see if it
contains hibernatefile
Unless of course there is a simple way to read whats in PMSet, i know
it is possible to use grep in the NSTask however i also want to check
for a second setting which would double the code etc.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden