If it occurs more than once, then the first occurrence is used. If x has length zero an error results.