email parsing automation

Email Parser

Extract data from emails and automate your workflow

The forum is now read only. Please, go to the the main Email Parser website if you need help.
Need help configuring the program? Have any questions regarding its use?
Hi,

What type of script engine is used in Email Parser2database?
I am looking for string handling routines like stringreplace and trimming functions.

Is there a function and procedures list?

Maurice
Don't matter. Already found out.


[syntax=csharp]String test;
test = "abcdefghijk";
test = test.Replace("abc","123");
[/syntax]
outputs: 123defghijk
Hello Maurice,

Sorry for replying a bit late. I will post another example:


[syntax="csharp"]public class MyAction : ScriptBasedAction
{
public override void Run(Dictionary<string, string> fields)
{
String my_string = " 123456 ";
// Should show 123456 with no spaces before and after the numbers
MessageBox.Show(my_string.Trim());

// Should show 1abc56
MessageBox.Show(my_string.Replace("234","abc"));
}
}[/syntax]
Hi,

That works great! Thank you!

Maurice