Flex Gateway New
API Governance New
© Copyright 2023 Salesforce, Inc. All rights reserved.
Removes all occurrences of a specified pattern from a string.
Introduced in DataWeave version 2.4.0.
The text to remove from.
The pattern to remove.
This example shows how the remove can be used to remove some unwanted properties.
import remove from dw::core::Strings
"lazyness purity state higher-order stateful" remove "state"
"lazyness purity higher-order ful"
Helper function that enables remove to work with a null value.