From WikiChip
Difference between revisions of "mirc/identifiers/$noqt"
m (Bot: adding missing title) |
m |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {{mirc title|$ | + | {{mirc title|$noqt identifier}}'''$noqt''' returns the text string with single enclosure double-quotes removed. |
− | '''$noqt | + | |
== Synopsis == | == Synopsis == | ||
− | <pre>$noqt( | + | <pre>$noqt(text)</pre> |
== Switches == | == Switches == | ||
Line 9: | Line 9: | ||
== 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 34: | Line 32: | ||
== See also == | == See also == | ||
* {{mIRC|$qt}} | * {{mIRC|$qt}} | ||
− | * | + | * {{mirc|identifiers|List of identifiers}} |
{{mIRC identifier list}} | {{mIRC identifier list}} | ||
− | [[Category: | + | [[Category:mIRC identifiers|noqt]] |
Latest revision as of 17:36, 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[edit]
$noqt(text)
Switches[edit]
None
Parameters[edit]
textText string from which to remove single enclosure double quotes.
Properties[edit]
None
Example[edit]
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[edit]
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[edit]
mIRC identifier list