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.
Page 1 / 1
You can use a StringSearcher with a Regex.
Or with AttributeCreator try:
@Substring(@Value(NAME),0,@FindString(@Value(NAME),","))
You can use a StringSearcher with a Regex.
Or with AttributeCreator try:
@Substring(@Value(NAME),0,@FindString(@Value(NAME),","))
thank you so much! FindString works for me.