Using Creator / Deluge

Using Creator / Deluge

I can't find any useful documentation on how to use creator /deluge. So far, I've managed to get an email coming in, and parsed the various components from it: content, header, from etc. 

How on earth do you parse the email contents properly in deluge. My plan, such as it is, was to use the find and substring functions to find the start & end of the item of interest, and then grab the substring. Once I have the info I need, I create a new CRM lead. 

But I can't even create the simplest of functions. If I type this new function as a test:

int strtingFrom ( string s) {
return 32;


I get the error:
Line N0: 3, Syntax error. Expecting 'sendmail','sendsms','break',function call statement,'pushnotification',assignment statement ,'try','if','for',invokeurl statement,'return',invokeintegration statement,'continue' or 'cancel'. Found 'strtingFrom'.

Gotta say, not loving this custom language. What was wrong with C. Or javascript. Or anything standard?