There are a ton of ways to do it, as they pointed out above...this would probably work...but not as fail safe as glenn's suggestion.

 Code:
If Left(Join(Split(@IPADDRESS0, " "),""),6) = "10.0.5"
   MSDS A
Else
   MSDS B
Endif