ParseException: Unparseable date: "dd.MM.yyyy"

ParseException: Unparseable date: "dd.MM.yyyy"

hey guys,
i'm using tos for DI 6.2.1 and i need to parse the first date from the following string in a talend open studio job:
"Report für Benutzerdefiniert Von: 11.10.2016 01:00:00 Bis: 12.10.2016 01:00:00"

I build the following expression which is used in tjavarow component to set the date as global var for later usage:
output_row.Datum = TalendDate.parseDate("dd.MM.yyyy",StringHandling.LEFT(StringHandling.FTRIM(StringHandling.EREPLACE(input_row.Column0,"Report für Benutzerdefiniert Von: ","")),11));

if i run the job, i just get this error:
Exception in component tJavaRow_2
java.lang.RuntimeException: java.text.ParseException: Unparseable date: "11.10.2016"
   at routines.TalendDate.parseDate(
   at routines.TalendDate.parseDate(
   at ec_bi.xxxx_logintimes_csv_to_db_0_1.xxxx_LoginTImes_CSV_to_DB.tFileInputDelimited_3Process(
   at ec_bi.xxxx_logintimes_csv_to_db_0_1.xxxx_LoginTImes_CSV_to_DB.tJavaRow_1_error(
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(
   at java.lang.reflect.Method.invoke(
   at ec_bi.xxxx_logintimes_csv_to_db_0_1.xxxx_LoginTImes_CSV_to_DB$TalendException.printStackTrace(
   at ec_bi.xxxx_logintimes_csv_to_db_0_1.xxxx_LoginTImes_CSV_to_DB.runJobInTOS(
   at xxx.xxxxxx_csv_to_db_0_1.xxxx_LoginTImes_CSV_to_DB.main(
Caused by: java.text.ParseException: Unparseable date: "11.10.2016"
   at java.text.DateFormat.parse(
   at routines.TalendDate.parseDate(
   ... 10 more

the inner expressions result seems to be correct and the reuslt is: "11.10.2016"  but whats wrong with 
TalendDate.parseDate("dd.MM.yyyy",...) ?

Re: ParseException: Unparseable date: "dd.MM.yyyy"

if I run: 
output_row.datum = TalendDate.parseDate("dd.MM.yyyy",StringHandling.TRIM(StringHandling.LEFT(StringHandling.EREPLACE(input_row.Column0,"Report für Benutzerdefiniert Von: ",""),10)));

i get 

java.lang.RuntimeException: java.text.ParseException: Unparseable date: "10.10.201"

what means that there seems to be a character which is not visible, how can i figure out what it is and how can i determine it easily ??

Re: ParseException: Unparseable date: "dd.MM.yyyy"

and ladies gentlemen, the solution or better the workaround is:
output_row.datum = TalendDate.parseDate("dd.MM.yyyy",StringHandling.TRIM(StringHandling.RIGHT(StringHandling.LEFT(StringHandling.EREPLACE(input_row.Column0,"Report für Benutzerdefiniert Von: ",""),11),10)));

but is there a more glaceful solution?
Ten Stars

Re: ParseException: Unparseable date: "dd.MM.yyyy"

Does the "Report für Benutzerdefiniert Von: " portion of your string ever vary?  If not, you can try something like:
output_row.Datum = TalendDate.parseDate("dd.MM.yyyy", input_row.Column0.substring(35,46));

Remember, you have full access to Java's String methods.  You don't need to rely solely on the ones Talend includes for you.