Link | trim(9) |
Author | Jolle Carlestam |
Category | String |
Version | 9.x |
License | Public Domain |
Posted | 22 Nov 2011 |
Updated | 22 Nov 2011 |
More by this author... |
Adding an optional param to string -> trim so that it works on any character.
var(mypath = response_filepath) $mypath -> trim('/') $mypath var(mystring = 'xxxräksmörgåsxx') $mystring -> trim('x') $mystring
Click the "Download" button below to retrieve a copy of this tag, including the complete documentation and sample usage shown on this page. Place the downloaded ".inc" file in your LassoStartup folder, restart Lasso, and you can begin using this tag immediately.
define string -> trim(trim::string) => { .removeleading(#trim) & removetrailing(#trim) }
No comments
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft