Rép. : AW: substring using indexof +1 using simple language

2017-11-24 Thread Daniel Langevin
23. November 2017 16:28 An: users@camel.apache.org Betreff: substring using indexof +1 using simple language Hi, i try to retreive domain name from a String containng an email adress with simple language from the body message in single instruction. I'm using camel 2.17.7 Look

AW: substring using indexof +1 using simple language

2017-11-23 Thread christian.jacob
I recommend to use a regular expression instead. -Ursprüngliche Nachricht- Von: Daniel Langevin [mailto:daniel.lange...@shq.gouv.qc.ca] Gesendet: Donnerstag, 23. November 2017 16:28 An: users@camel.apache.org Betreff: substring using indexof +1 using simple language Hi, i try to

substring using indexof +1 using simple language

2017-11-23 Thread Daniel Langevin
Hi, i try to retreive domain name from a String containng an email adress with simple language from the body message in single instruction. I'm using camel 2.17.7 Look my try ${body.substring(${body.indexOf("@")}++,${body.length})} but receive this error org.apache.camel.language.bean.Runti