Texas Instruments TI-89 Manual Book page 310

Ti ti-89: user guide
Hide thumbs Also See for TI-89:
Table of Contents

Advertisement

String Commands
Note: See Appendix A for
syntax for all
TI-89 / TI-92 Plus
commands and functions.
Command
Description
Converts a string into a variable name. This is called
#
indirection.
Appends (concatenates) two strings into one string.
&
Returns the character that corresponds to a
char
specified character code. This is the opposite of the
command.
ord
dim
Returns the number of characters in a string.
Converts a string into an expression and executes
expr
that expression. This is the opposite of the
command.
Important: Some user input commands store the
entered value as a string. Before you can perform a
mathematical operation on that value, you must
convert it to a numeric expression.
Returns an expression as a character string based
format
on the format template (fixed, scientific,
engineering, etc.)
Searches a string to see if it contains a specified
inString
substring. If so,
position where the first occurrence of the substring
begins.
Returns a specified number of characters from the
left
left side (beginning) of a string.
Returns a specified number of characters from any
mid
position within a string.
ord
Returns the character code of the first character
within a string. This is the opposite of the
command.
Returns a specified number of characters from the
right
right side (end) of a string.
Rotates the characters in a string. The default is L1
rotate
(rotate right one character).
Shifts the characters in a string and replaces them
shift
with spaces. The default is L1 (shift right one
character and replace with one space). Examples:
"
shift(
abcde
Converts a numeric expression into a string. This is
string
the opposite of the
inString
returns the character
"
"
" and
"
,2)
cde
shift(
abcde
expr
command.
Chapter 17: Programming
string
char
"
"
"
)
abcd
293

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ti-92 plusTi-92 plus

Table of Contents