Does SWQL support any type of Trim ability. I need to remove a bunch of spaces in a query. I don't see any way to do this out of the box with SWQL unless I am missing something.
Unfortunately this function is not implemented, as far as I know (SWQL Functions · solarwinds/OrionSDK Wiki · GitHub ). If you know the max length of the formated string, you may use the substring (I know, it's not exactly the desired functionality) function or eliminate the source of the spaces (e.g. if the formated string contains the spaces, than use SQL update to trim them). If nothing fits to you, I could potentialy create feature request for you, but can't guarantee the timeframe of implementation.
H.
SolarWinds solutions are rooted in our deep connection to our user base in the THWACK® online community. More than 195,000 members are here to solve problems, share technology and best practices, and directly contribute to our product development process.