I was wondering if I could produce an if statement where I could produce the word "down" if the 11th character = "10", how would the formula look?

BW1-10-R1-10-P05

Any help would be appreciated.