I think there's a better way to look up this information than searching for spells.
On the Develop menu, make sure you have "Enable Data File Debugging", and then add a level of a test class that can cast spells. Prepare a few spells for this class.
Then, on the Develop menu, go to "Floating Info Windows" at the bottom, and then choose "Show Selection Fields". Use the search option at the top to find the class you're testing with, and you'll see there are several options with that name - one of them will have the Id "cHelpXXX" where XXX is a three-letter abbreviation for that class, and the rest will have the Id "cXXXXXXXXXX", where the Xs are the first 9 letters of that class' name. Select the cHelp one for this class, and then click OK.
Now, that's a long list, but the information you're looking for is actually relatively close to the top. Scroll down through the list of field names until you find something that looks like that might be it. Then, you can click on the "click to view array" or "click to view matrix", and compare the numbers in there with the number of spells you've prepared for this class, to make sure you found the correct field.
Tell me what field you've found.
Also, I'll need more information about how you're using this. Are you working on a class special? Is it for a new class, or a new archetype? Or is this a feat? If it is a feat or something else that's not connected to a particular class, how is it choosing which class's spells to look up? Or do you want to know about all spells prepared for all of the character's spellcasting classes?