
![]() |
Show Changes |
![]() |
|
![]() |
Recent Changes |
![]() |
Subscriptions |
![]() |
Lost and Found |
![]() |
Find References |
![]() |
Rename |
![]() |
Administration Page |
| Search |
History
| 5/14/2008 6:17:41 AM |
| -66.161.197.130 |
| 5/13/2008 7:44:33 PM |
| -71.65.110.116 |
| 5/11/2007 7:47:31 AM |
| -87.123.126.112 |
| 12/21/2005 4:48:10 PM |
| -131.107.0.75 |
| 12/21/2005 4:47:36 PM |
| -131.107.0.75 |
![]() |
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 |
{ one | one.Name.Substring(0,1).Equals("_")}.Collect
"hello".Equals("hello")
true
"Hello".EqualsCaseInsensitive("HELLO")
true
"Hello Dolly".Contains("Dolly")
true
"Hello Dolly".Contains("Panda")
false
"x".Repeat(5)xxxxxxxxxx
"".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