in reply to convert each character of a string to number

G'day Lowry76,

Is this the type of thing you're looking for?

$ perl -e 'printf "%02b", ord($_) - ord("a") for split //, "abcd"' 00011011

— Ken