Difference between revisions of "ObjectType:mutablestring"

From Lavish Software Wiki
Jump to navigation Jump to search
Line 19: Line 19:
  
 
== Setting string Variables ==
 
== Setting string Variables ==
string1:Set[This is string 1]
+
*string1:Set[This is string 1]
string2:Set[${string3}]
+
*string2:Set[${string3}]
  
 
== Comparing Strings ==
 
== Comparing Strings ==

Revision as of 01:12, 26 August 2005

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

  • declare Food string "Pizza"
  • declare Word string script

Setting string Variables

  • string1:Set[This is string 1]
  • string2:Set[${string3}]

Comparing Strings

See Also