Do you really mean to test that the character is less than $ unicode-wise?