Difference between revisions of "ObjectType:mutablestring"
Jump to navigation
Jump to search
Line 30: | Line 30: | ||
echo We're both named fred! | echo We're both named fred! | ||
} | } | ||
+ | |||
+ | == Operates On == | ||
+ | <tt>char[4096]</tt> | ||
+ | Note: This is subject to change, and will likely become const char ** or a string class | ||
== See Also == | == See Also == |
Revision as of 21:58, 15 December 2005
Contents
Description
A string, also known as text is a series of consecutive characters.
Members
(none)
Methods
- Set[text]: Sets the value of the string to this new text
- Concat[text]: Concatenates the string with this new text
- ToUpper: Converts the string to upper case
- ToLower: Converts the string to lower case
Inherits
Declaring string Variables
- Any string variable is a mutablestring
- declare Food string "Pizza"
- declare Word string script
Setting string Variables
- string1:Set[This is string 1]
- string2:Set[${string3}]
Comparing Strings
declare name1 string "fred" declare name2 string "george" if ${name1.Equal[${name2}]} { echo We're both named fred! }
Operates On
char[4096] Note: This is subject to change, and will likely become const char ** or a string class