Print lines with specific character at nth position in a file

I need to print lines with character S at nth position in a file...can someone pl help me with appropriate awk command for this

try this

awk '{substr($0,nth position,1) ~ /char/}{print}' filename

Is this a homework question? If it's not, what is the "real world problem" of your question and what have you done to attempt to solve this problem yourself?

Regards