Parse string from obj-c