Microsoft Word Suite
228
Remarks
The following characters are converted as described in this table.
Character code
Description
7 (beep)
Removed unless preceded by character 13 (paragraph), then converted
to character 9 (tab).
10 (line feed)
Converted to character 13 (paragraph) unless preceded by character
13, then removed.
13 (paragraph)
Unchanged.
31 (optional hyphen)
Removed.
194 (optional hyphen)
Removed.
202 (nonbreaking space)
Converted to character 32 (space).
Example
This example removes nonprinting characters from the selected text and inserts the result into a new
document.
set clean to clean string item to check (content of text object of selection)
set myDoc to make new document
set content of text object of myDoc to clean
This example removes nonprinting characters from the selected field code and then displays the
result.
set show field codes of view of active window to true
select field 1 of active document
display dialog (clean string item to check content of text object ¬
of
selection)
Command: clear
drop cap object: Removes the dropped capital letter formatting.
tab stop object: Removes the specified custom tab stop.
text input object: Deletes the text from the specified text form field.
key binding object: Removes the key binding from the key bindings list and resets a built-in
command to its default key assignment.
Syntax
clear drop cap/tab stop/text input/key binding Required. An expression that returns a drop cap,
tab stop, text input, or key binding object.