Published on InterSystems Developer Community (https://community.intersystems.com)

Home > What is the objectscript function to trim a string?

Question
Yuri Marx Perei... · Nov 29, 2021

What is the objectscript function to trim a string?

If a have a string " Happy new year   " and I want to trim (remove blank spaces from the begin and the end, not other places into the string), what is the object script function to get "Happy new year"?

#ObjectScript #InterSystems IRIS
Product version: IRIS 2021.1

Source URL:https://community.intersystems.com/post/what-objectscript-function-trim-string