Why did you put "{.........}" > for (intElementNr = 0; intElementNr < strSeparatorArray.length; > intElementNr++) > { > if (strDate.indexOf(strSeparatorArray[intElementNr]) != -1) > { > strDateArray = strDate.split(strSeparatorArray[intElementNr]); > {......} the ligne before ? I cannot understand A+ Felix