Strings are used to hold text. The text must be placed between double quotation marks (") and cannot be split between lines. If you want to include double quotes in a string, use two consecutive double quotation marks.
"This is a string." "123" "The word ""hello"" is quoted."
You can extract individual elements or substrings from a string by specifying the character position or a range of character positions. Negative values are allowed; they specify the position starting from the end of the string.
"hello" (2) 'Equal to "e" "hello" (-5) 'Equal to "h" "604-555-1234" (1 to 3) 'Equal to "604" "abcdef" (-3 to -1) 'Equal to "def"
You can also extract substrings from a string using the Left, Right and Mid functions.
Seagate Software, Inc. http://www.seagatesoftware.com Please send comments to: techpubs@seagatesoftware.com |