I have a NAME field with a format of 'lastname, firstname'. How to get the lastname using AttributeCreator? I tried Substring() but couldn't find a IndexOf() function. Please help.
Solved
attributecreator split a string by comma
Best answer by mark_f
You can use a StringSearcher with a Regex.
Or with AttributeCreator try:
@Substring(@Value(NAME),0,@FindString(@Value(NAME),","))
Reply
Rich Text Editor, editor1
Editor toolbars
Press ALT 0 for help
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.