I have a database where there is a column "Fruits" of type TEXT; for example if i have two strings
1. Apple %d Mango %d Banana %d Guava %d Peach %d 2. Grapes %d Plum %d Pomegranate %d Apple %d
I want to return string 1 first and then string 2. If i my Query string is
Apple 4 Mango 6 Banana 7 Guava 8 Peach 2
I can remove the %d's from the stored strings if required but in the query string the numbers will be present; Any idea how can i do this?