User bio
404 bio not found
Member since Sep 20, 2021
Posts:
Replies:
@Ben Spead , Thanks for your reply. "," is the default value.
Thank you David and Ben.
I've tried using the below in DTL but it throws the compilation error.
$piece(Str,",",1,*-1)
(Transform+103) #1054: Invalid expression : 'patAdr22=..Piece(patAdr2,,1,*-1)' :
Is it that it should work fine when I write an ObjectScript function and call it from DTL ?
Also, I tried with:
patAdr22=..Piece(patAdr2,,1,..Length(patAdr2))
patAdr22=..Piece(patAdr2,,1,..Length(patAdr2)-1)
But no luck.
Certifications & Credly badges:
Sreevani has no Certifications & Credly badges yet.
Global Masters badges:


Followers:
Following:
Thanks David and Ben for your help. I wrote an ObjectScript method based on your suggestions:
($E(value,1,$L($g(value))-$L($g(string))))
And it's working fine. Thanks again for your help.