I have a NSString with string like “hello”.
Now I want to convert the string into another NSString object which shows a hex string. How to do that ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Hmm – apart from the obvious which can be found elsewhere – how about something like:
which should give an output like
Optimising this is left as an exercise to the reader 🙂 🙂