Yes. See ord.
Originally posted as a Categorized Answer.
In reply to Re: is there an opposite to the chr function? by myocom in thread is there an opposite to the chr function? by strfry()