Solved
Remove Duplicates Letters
How to remove duplicate letters from the string without changing case of letters
input "Deleted"
output "Delt"
How to remove duplicate letters from the string without changing case of letters
input "Deleted"
output "Delt"
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]
)
),
""
)
)Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.