Skip to main content

Posts

Showing posts with the label null

How to replace the string values stored with in a variable in objective c

I got an xml in output for the webservices.I have the result in the variable and i stored the result in that variable.Now i want to replace the strings in that variable.How to replace the strings in that variable. For ex: //SDZZmaterialGroupList* result = (SDZZmaterialGroupList*)value; in that result variable i stored the result is: </Text></item> <item> <Matkl>00101</Matkl> <Text>Steels</Text> </item> <item> <Matkl>00107</Matkl> <Text>Miscelleanous</Text> </item> <item> <Matkl>002</Matkl> <Text>Electronics</Text> </item> <item> <Matkl>00207</Matkl> <Text>Monitors</Text> </item> <item> <Matkl>003</Matkl> <Text>Bulbs</Text> </item> <item> <Matkl>007</Matkl> <Text>Services</Text> </item> <item> <Matk