Difference between revisions of "String class"
Line 7: | Line 7: | ||
|Description=<nowiki>New object with the given value</nowiki>}} | |Description=<nowiki>New object with the given value</nowiki>}} | ||
|Methods= | |Methods= | ||
+ | {{CGscriptMethods_Template|ReturnType=number|Name=<nowiki>CompareTo</nowiki>|Parameters= | ||
+ | {{CGscriptParameters_Template|Type=string|Name=<nowiki>value</nowiki>|Description=<nowiki>Value to compare to</nowiki>}} | ||
+ | |Description=<nowiki>Compare to object. See ArrayConstant.OrderBy</nowiki>}} | ||
+ | {{CGscriptMethods_Template|ReturnType=number|Name=<nowiki>CompareToIgnoreCase</nowiki>|Parameters= | ||
+ | {{CGscriptParameters_Template|Type=string|Name=<nowiki>value</nowiki>|Description=<nowiki>Value to compare to</nowiki>}} | ||
+ | |Description=<nowiki>Compare to object. See ArrayConstant.OrderBy</nowiki>}} | ||
{{CGscriptMethods_Template|ReturnType=string|Name=<nowiki>ToString</nowiki>|Description=<nowiki>The string representation of the object.</nowiki>}} | {{CGscriptMethods_Template|ReturnType=string|Name=<nowiki>ToString</nowiki>|Description=<nowiki>The string representation of the object.</nowiki>}} | ||
|Properties= | |Properties= |
Revision as of 06:25, 15 September 2014
String
The string object
Constructors
- (string value "Value to give object") - New object with the given value
Methods
- number CompareTo(string value "Value to compare to") - Compare to object. See ArrayConstant.OrderBy
- number CompareToIgnoreCase(string value "Value to compare to") - Compare to object. See ArrayConstant.OrderBy
- string ToString() - The string representation of the object.
Properties
- string ObjectTypeName { get; } - The name of the type of object.
- TypeInformation TypeInformation { get; } - Get information about this class.