Difference between revisions of "String"

From NWN Lexicon
Jump to navigationJump to search
(Undo revision 34888 by 46.161.9.56 (talk))
Line 1: Line 1:
short term loan no credit check <a href=https://shorttermloans.us.com>3000 loan</a> short term loans online <a href=https://shorttermloans.us.com>short term loans no credit check</a>
+
{{DISPLAYTITLE:string}}
 +
A sequence of characters of arbitrary length. The default value is an empty string (""). Strings can be concatenated (that is, combined) by using the plus ("+") sign. A string can be compared for equality against another string by using the double equals ("==") equality tester, or for inequality by using the "!=" equality tester. When testing for string equality, strings are case-sensitive (that is, "SoME CHaRaCTeR NaMe" does not equal "some character name").
 +
 
 +
====Example====
 +
<nwscript>
 +
string sHero = "Galryx";
 +
</nwscript>
 +
 
 +
====See Also====
 +
[[:Category:String_Functions|String Functions]]
 +
----
 +
[[Category:Data_Types]]

Revision as of 12:18, 14 November 2017

A sequence of characters of arbitrary length. The default value is an empty string (""). Strings can be concatenated (that is, combined) by using the plus ("+") sign. A string can be compared for equality against another string by using the double equals ("==") equality tester, or for inequality by using the "!=" equality tester. When testing for string equality, strings are case-sensitive (that is, "SoME CHaRaCTeR NaMe" does not equal "some character name").

Example

string sHero = "Galryx";

See Also

String Functions