Hi, I’m trying to use string manipulation node to take 3 characters in 1 column from left to right with padRight(str, size). I’m using column name as str input and 3 as size.
For example:
APPLE become APP
But somehow the results when I’m using it is resulting in APPLE instead of APP.
Is there anything I did wrong or it’s not how I supposed to use the expression?
pad function are for adding characters to an existing string and not for removing. To see how function works you can check description and examples within node.