
Signature
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)
> Richard wrote on 31 jan 2005 in comp.lang.javascript:
>> In using a variable message format such as content[1]='it's a small
>> world'
>> How exactly is the inner ' shown in the coding?
>> I tried 'it´s' which does not work.
>> Neither does 'it'+´+'s'.
>> Just being curious. Not that it matters that much.
> If it doesn't matter much, shall we leave it at that?
> ===============
> perhaps for others than the OP:
> content[1] = "it's a small world" // using double quoted string
> content[2] = 'it\'s a small world' // escaped
> content[3] = 'it\047s a small world' // octal ascii
> content[4] = 'it' + String.fromCharCode(39) + 's a small world'
> // String object decimal ascii
> etc.
Thanks for the info.