
![]() |
Show Changes |
![]() |
|
![]() |
Recent Changes |
![]() |
Subscriptions |
![]() |
Lost and Found |
![]() |
Find References |
![]() |
Rename |
![]() |
Administration Page |
| Search |
History
| 9/13/2007 3:28:55 PM |
| -74.15.247.173 |
| 8/31/2007 5:13:12 PM |
| -66.78.116.108 |
| 8/30/2007 6:38:30 PM |
| -66.78.116.108 |
| 7/20/2007 10:34:12 PM |
| -10.10.192.236 |
![]() |
List all versions |
A String type has the following members:
| Integer AsInteger |
| Answer the string converted to an integer |
| Object Contains(Object obj) |
| Determine whether this string contains another string |
| Object Equals(Object obj) |
| Determine whether this object is equal to another object |
| Object EqualsCaseInsensitive(Object obj) |
| Determine whether this string is equal to another string (ignoring case) |
| Integer IndexOf(Object obj) |
| Answer an integer giving the first index of the provided string, or -1 if the string does not contain the provided string. |
| Integer Length |
| Answer the number of characters in this string |
| String Repeat(Integer count) |
| Answer a new string than is the concatenation of the given number of copies of this string |
| String Reverse |
| Answer a copy of this string with the characters reversed |
| String Substring(Integer index, Integer length {optional}) |
| Answer a substring of this string starting at the given character and possibly limited to the given number of characters |
"hello".Equals("hello")
true
"Hello".EqualsCaseInsensitive("HELLO")
true
"Hello Dolly".Contains("Dolly")
true
"Hello Dolly".Contains("Panda")
false
"x".Repeat(5)xxxxx
"".Length0
"!!!".Repeat(1000).Length3000
"Reverse".ReverseesreveR
"FlexWiki".Substring(0,4)Flex
"FlexWiki".Substring(2,4)exWi
"FlexWiki".Substring(4)Wiki
empty.Length0
Concatenate strings by creating an array of strings and converting the array to a string.
["String 1", "String 2"].ToOneStringString 1String 2
Newline = ' '
Newline.Length = '2'
Newline.Substring(1,1) = ' '
Newline.Substring(0,1) = ' '
String.MaxLengthString("ABCDEFGHIJKLMNOPQRSTUVWXYZ", 12)
ABCDEFGHIJKL
String.MaxLengthString("ABCDEFGHIJKLMNOPQRSTUVWXYZ", 12, "xxx")
ABCDEFGHIxxx