Change a string in xml into an array in xml easily
问题 I was wondering if anyone knew if there was a simple way to change all of my strings in my xml file to arrays? Example: //This is the string I need to change: <string name="sample1">value1, value2, value3, value4, value5</string> //This is the way I need it to be: <array name="sample1"> <item>value1</item> <item>value2</item> <item>value3</item> <item>value4</item> <item>value5</item> </array> My problem is not that I do not know how to manually do it. But I am looking for a way to simulate