generating escaped representation of string
generating escaped representation of string
- Subject: generating escaped representation of string
- From: matt neuburg <email@hidden>
- Date: Tue, 12 Aug 2003 20:25:50 -0700
I wish to convert an NSString to a representation where escape characters are used, as they would look if you were inputting the corresponding literal. For example I want a return character to appear as \r and an ASCII 1 character to appear as \x01. Then I want this string to be editable and convert back the result to a normal NSString, so that if the user enters \r it becomes a return character. Is there some utility function that will do this for me? Thx - m.
--------
matt neuburg, phd = email@hidden,
http://www.tidbits.com/matt
pantes anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart.
http://www.tidbits.com/
_______________________________________________
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.