Hi Muhammad Ikhwan Afiq bin Azmir,
For the left side of the hyphen use:
substring($Source/FileTaggingNumber, 0, find($Source/FileTaggingNumber, '-') )
The right side:
substring($Source/FileTaggingNumber, find($Source/FileTaggingNumber, '-') +1 ,length($Source/FileTaggingNumber) - find($Source/FileTaggingNumber, '-')-1)
Go Make It
Hi Muhammad ,
You can use StringUtils module :
follow some step to do it :
In this module many java actions are there for you issue use SubstringAfterLast java action
Output:
Thank you
Hope it help you !!!
Hi,
You can use find string function like this:
You can then use the check !=-1 to use the index to modify the string using substring.
Regards