ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

trim() function in Lua appears to be broken

book

Article ID: 221397

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

in my NAS LUA script, the trim() function is not working as expected and often fails to trim spaces from the beginning or end of strings.

Environment

Release : 20.3

Component : UIM NAS

Resolution

This is resolved in NAS 9.32-HF2