in reply to Convert string to variable
Please note that the construct s/^\s+|\s+$//g; is not as clever as you might think and a possible performance drain. See this thread on StackOverflow.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Convert string to variable
by GrandFather (Saint) on Feb 18, 2018 at 20:38 UTC | |
|
Re^2: Convert string to variable
by karlgoethebier (Abbot) on Feb 17, 2018 at 12:41 UTC |