Is there anyway to convert string to code ?

Well when i think about it like that it really is makes no sense.
I was wondering how some guys managed to make nodes like that :