Hi,
Suppose i have a field value as email of a person; for eg. 123@xyz.com . I want to extract 123 ie characters before @ and export it. Help appreciated.
Hi,
Suppose i have a field value as email of a person; for eg. 123@xyz.com . I want to extract 123 ie characters before @ and export it. Help appreciated.
0人中0人がこの記事が役に立ったと言っています
コメント
6件のコメント
Hi,
Follow the path from project setup station : Document Definition > Document Structure > Field > Property > Rules > New Rule and write your scripts in there.
Please provide me the script as i need it.
Thanks,
Is this what you are looking for?
if(someString.Contains("@")){
string resultString = somestring.SubString(0,test.IndexOf("@")-1)
}
Yes, can you please given me proper script. field name is "ContactName" and need either vbscript or .net script, so that it will return string before "@ "characters as stated above,
string someString = Context.Field("InputField").Text;
if(someString.Contains("@")){string resultString = somestring.SubString(0,test.IndexOf("@")-1)
}
Context.Field("OutputField").Text = resultString;
Please consider contacting ABBYY Professional services, as this is not the forum to learn programming.
Thanks, got it
サインインしてコメントを残してください。