how to pick a character in paragraph style in indesign

here is the some script for show the style, but i am unable to find the
tell application “Adobe InDesign CS3”
–open myFile
tell active document
set PStyles to every paragraph style
set PStyleNames to name of every paragraph style
–repeat 2 times
– set PStyles to rest of PStyles --don’t need first two default paragraph styles
– set PStyleNames to rest of PStyleNames --don’t need first two default paragraph stylenames
–end repeat
set foundSet to search for “str^?ng”
– search space in PStyleNames
display dialog “done” & PStyleNames
end tell
end tell