I am having a major problem with an Array values, which are added with spaces when they were added to the array. So is there any way to remove such spaces means using Trim in a single line of statement, before they are used in further processing, otherwise I would need to use Trim in every calculations. So any quicker process to remove such spaces one time within the code?
Dim VMHArray
VMHArray = Array("VMH All Fields Review - Add Supplier Emergency", _
"VMH All Fields Review (Req. Provides Supplier Details) - Update/Enable Supplier", _
"VMH Triggered Final Sourcing Review - Add Address_Direct", _
"Activate / Create supplier in business system - Add Address", _
"Activate / Create supplier in Business System - Add Supplier")
Can’t you clean up the array after initialization, like so: