String

From NWN Lexicon
Revision as of 11:32, 21 August 2012 by Dood (talk | contribs) (Created page with "=string= A string of characters of arbitrary length, terminated by a NULL character. Default value is an empty string (""). Strings can be concatenated (that is, combined) ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

string

A string of characters of arbitrary length, terminated by a NULL character. 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 "!=" equaliter 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