From WikiChip
Difference between revisions of "mirc/identifiers/$noqt"
Line 1: | Line 1: | ||
− | {{mirc title|$noqt | + | {{mirc title|$noqt identifier}}'''$noqt''' returns the text string with single enclosure double-quotes removed. |
− | '''$noqt''' returns the | ||
== Synopsis == | == Synopsis == | ||
− | <pre>$noqt( | + | <pre>$noqt(text)</pre> |
== Switches == | == Switches == | ||
Line 9: | Line 8: | ||
== Parameters == | == Parameters == | ||
− | <span style="display: inline-block; width: 50px;">''' | + | <span style="display: inline-block; width: 50px;">'''text'''</span>Text string from which to remove single enclosure double quotes. |
== Properties == | == Properties == | ||
− | |||
None | None | ||
== Example == | == Example == | ||
− | + | Does not affect double-quotes within the text, only removes a single double-quote at the start/end of text. | |
− | Does not affect double-quotes within the text, only removes a single double-quote at the start/end of | ||
<source lang="mIRC">//var %ini $qt($mircini) echo -a %ini | echo -a $noqt(%ini) | <source lang="mIRC">//var %ini $qt($mircini) echo -a %ini | echo -a $noqt(%ini) | ||
Line 36: | Line 33: | ||
* [[List of identifiers - mIRC]] | * [[List of identifiers - mIRC]] | ||
{{mIRC identifier list}} | {{mIRC identifier list}} | ||
− | [[Category: | + | [[Category:mIRC identifiers|noqt]] |
Revision as of 17:29, 21 September 2017
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
$noqt returns the text string with single enclosure double-quotes removed.
Synopsis
$noqt(text)
Switches
None
Parameters
textText string from which to remove single enclosure double quotes.
Properties
None
Example
Does not affect double-quotes within the text, only removes a single double-quote at the start/end of text.
//var %ini $qt($mircini) echo -a %ini | echo -a $noqt(%ini) ; 1st line returns path\filename of your mirc.ini with double-quotes around it. ; 2nd line shows filename with surrounding double-quotes removed
//echo -a $noqt("""Test""String) ; returns: ""Test""String ; No change to internal quotes, removes 1 double-quote from start of string, no alteration of string ending because no double-quote already present.
Compatibility
Added: mIRC v6.17
Added on: 17 Feb 2006
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.
See also
mIRC identifier list