How can I convert a single hex character into a binary string (i.e. a set of ones and zeros)
Given "0" return "0000"
Given "1" return "0001"
Given "2" return "0010"
...
Given "f" return "1111"
I can get something crude working with a simple CASE
statement, but was hoping for something a little more elegant.