[erlang-questions] Why the double quotation marks is disappear?

Bengt Kleberg bengt.kleberg@REDACTED
Fri Mar 9 09:23:08 CET 2007


On 2007-03-09 09:11, LUKE wrote:
>  
> 5> [H|T]="CAT".
> "CAT"
> 6> H.
> 67
> 
> 7> T.
> "AT"
> ==============================================
> This is very strange. The left  double quotation marks is disappear.
> Why?

strings are delimeted with ". a string is a list of characters. H is
only one character. One character is not a list.
ok?


bengt
-- 
Those were the days...
   EPO guidelines 1978: "If the contribution to the known art resides
   solely in a computer program then the subject matter is not
   patentable in whatever manner it may be presented in the claims."



More information about the erlang-questions mailing list