head
=
x
.
substring
(
0
,
length
)
;