陳鍾誠

Version 1.0

#字串運算

> x = "hello"
'hello'
> x.length
5
> x[3]
'l'
> x[2]
'l'
> x[1]
'e'
> x[0]
'h'
> x[5]
undefined
> x[4]
'o'
> x=x+" world"
'hello world'
> x
'hello world'
>