$qt

From Scriptwiki
Revision as of 03:55, 6 April 2008 by Daveoh (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

$qt(text)/$noqt(text)

Adds or removes outer enclosing quotes around text. Particularly useful for specifying file names or paths with spaces.

Example

$qt(My text.) returns "My text."
$noqt("This is some "text"") returns This is some "text"