What you need is (as i know) not supported by Parse Engine. You need a Phonetic search algorithm, but you have to retrieve all records from your PFObject to perform a Phonetic match on all the names (or fetch all starting with "D" and then perform the match on those only).
The Phonetic search algorithm is called SoundEx and various implementations have been done by developers all over the world, taking into account i.e. UK abbreviations like "St. = Saint" etc.
The SoundEx algorithm is very intelligent and is working as follows:
- Retain the first letter of the name and drop all other occurrences of a, e, i, o, u, y, h, w.
- Replace consonants with digits as follows (after the first letter):
- b, f, p, v => 1
- c, g, j, k, q, s, x, z => 2