I am pulling user information from my server's database. When the user is found in the database, an object is returned to me and when I NSLog the object it looks like this:
(
"<PFUser:981038hajsh98:(null)> {\n \"Phone_Number\" = 5859921091;\n email = \"usersemail@aol.com\";\n username = jeff849;\n verificationCode = 3240;\n}"
)
I need a way to extract just the "username" value. So with the above example, I would need to extract this exactly: jeff849
How can I do this?
Edit: The object that I need to extract a specific substring out of is an NSString object.