How do I show that the strain tensor
$$\epsilon_{ij}=\partial_i u_j + \partial_j u_i$$
in the case of a one-dimensional spring is reduced to
$$\epsilon= \frac{x-L}{L},$$
where L is the initial length of the spring. I can see that the only component that survives in this case is $\epsilon_{xx}=\partial_x u_x$, but I don't see how $L$ appears at the denominator.