Announcement
Collapse
No announcement yet.
How to use %scanrpl
Collapse
X
-
You're looking for 'Hello ', which isn't there. var is a fixed-length string, so it has trailing blanks. Try changing the definition to be varChar(10).
Leave a comment:
-
How to use %scanrpl
Hope somebody can help me. I tried to use %scanrpl like this
Code:dcl - s var char(10); dcl - s result char(10); val = 'Hello'; result = 'Hello World' result = %scanrpl(val:'':result);
Tags: None
Leave a comment: