 			else
 			{
 				var lastStringChar:String = "";
+				lastFormatChar = "";
 				n = stringValue.length;
 				part = -1;
 				for (i = 0; i < n; i++)

			}
			else
			{
				formatParts[part] = formatChar;
			}
			

						part++;
						dateParts[part] = stringChar;
					}
					//  TODO will only work if month and day are not specified as single digits
					else if (lastFormatChar != formatChar && noSeperators)
					{
						part++;
						dateParts[part] = stringChar;
					}
					else
					{
						dateParts[part] += stringChar;
					}

					lastStringChar = stringChar;
					lastFormatChar = formatChar;
				}
				
				if (formatParts.length != dateParts.length)
