[erlang-questions] how to escape ? character

Mazen Harake mazen.harake@REDACTED
Sat May 15 14:25:18 CEST 2010


Obviously :)

On 15/05/2010 14:30, Robert Virding wrote:
> 2010/5/15 Mazen Harake<mazen.harake@REDACTED>:
>    
>> One can also use the notation $<chr>  which is slightly more comfortable when
>> it comes to individual chars.
>>
>> Try e.g this in the shell:
>>
>> 1>  $?.
>> 63
>>
>> Note however that this is not an Erlang string!
>> $? is not a string, [$?] however is.
>>      
> Or even simpler for a string, "?". They are equivalent "?"<=>   [$?]
> <=>   [63].
>
> Robert
>    

---------------------------------------------------

---------------------------------------------------

WE'VE CHANGED NAMES!

Since January 1st 2010 Erlang Training and Consulting Ltd. has become ERLANG SOLUTIONS LTD.

www.erlang-solutions.com



More information about the erlang-questions mailing list