put char 12 of steve into bill
put char 2 through 7 of steve into bill
put the fifth char of steve into bill
put the third through eighth char of steve into bill
put char "andy" of steve into bill
The char
data type is a chunk type of string
that represents a single Unicode character or a range of Unicode characters.
Accessing a char
chunk that is out of range returns empty
. Modifying a char
chunk that is out of range prepends or appends to the parent string
.