
end if
end repeat
end if
return indexedList
end
CASE
These operations use the Mac Standard Roman character set on Mac and PC ANSI on PC. Some
decorative or shareware fonts put non-standard characters in empty or little-used character
positions, which can cause unexpected results when characters above 127 are cased. Check the
character set crossmap against the font before reporting a casing bug. These methods return a
modified copy of the source string, leaving the original string unchanged. See (deprecated in
D11) for more information on character encoding changes.
ToUpperCase(sourceString) - where sourceString is the string to operate on. Returns a copy of
the source string uppercased or "" if there was an error. Replaces any character in the string with
its uppercase counterpart if there is one. Leaves the character unchanged if there is no uppercase
character for it. Uses Mac Standard Roman character set on Mac and PC ANSI on PC. This
method is deprecated in D11.
Example:
set source = "uppercase this!"
put ToUpperCase(source)
-- "UPPERCASE THIS!"
ToLowerCase(sourceString) - where sourceString is the string to operate on. Returns a copy of
the source string lowercased or "" if there was an error. Replaces any character in the string with
Online Help
41
Kommentare zu diesen Handbüchern