Skip to Content
0
Apr 23, 2020 at 06:09 PM

UDF to truncate File name

54 Views

Hello Experts,

I was able to get the file name in my target field using Dyanamic File Name UDF but the same name needs to be alerted now.

e.g. File name is coming as PN_951_1137418120_20200327_152929249206320200423-093754.xml

I want to truncate it as PN_951_1137418120_20200327_152929249206320200423.xml

Final Output name expected:- PN_951_20200327_152929249206320200423.xml

Can you please suggest UDF for the same?

Thanks * Regards,

jyoti