Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
I have field1="ab" "cd" "fg" and field2="ab" "cd" how i can get field3="fg" , distance between the "ab" "cd" ... a new line
您可以获得的两个文本列表的区别@Replace:
@Replace
field3 := @Trim(@Replace(field1; field2; ""));
@Replace用空字符串 "" 替换 field1 中也在 field2 中的所有条目。您的示例的结果列表将包含条目"" "" "fg"。
"" "" "fg"
@Trim从列表中删除所有空字符串。最终的结果是"fg"。
@Trim
"fg"
确保表单的 field3 具有属性"Allow multiple values"和 "Multi-Value Options" New Line。
"Allow multiple values"
New Line