NSString and special characters
NSString and special characters
- Subject: NSString and special characters
- From: "Vladimir Sokolov" <email@hidden>
- Date: Fri, 22 Aug 2008 10:00:57 +0200
Hello All,
I am working on a command line tool. I use
NSArray *params = [[NSProcessInfo processInfo] arguments]
to get a list of command line parameters.
Then I use
NSString *param1 = [params objectAtIndex:1];
to get it.
But when I pass for example >...myapplication test$test
param1 got "testest" instead of ""test$test"
It means as I understand that $ is interpreted as special character.
So my question is how to pass a parameter with $ inside?
And are there any other special characters which are interpreted as special
one?
Thanks,
Vlad
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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