How to remove duplicate letters from the string without changing case of letters
input "Deleted"
output "Delt"
Discussion posts and replies are publicly visible
A shorter version. I check each character whether it already is part of the substring before it.
a!localVariables( local!text: "Deleted", joinarray( a!foreach( items: enumerate(len(local!text)), expression: if( a!isInText(left(local!text, fv!item), local!text[fv!index]), "", local!text[fv!index] ) ), "" ) )