Getting started Community Training Tutorials Documentation APIs, AI & Tools
%dw 2.0
import last from dw::core::Strings
output application/json
---
"hello world!" last 6
You're viewing an older version of the documentation. You can switch to the latest version or use the version selector in the left navigation.
Returns characters from the end of string to a specified number of characters, for example, the last two characters of a string.
Introduced in DataWeave version 2.4.0.