String entry, Subtraction – Texas Instruments TI-86 User Manual
Page 375
Chapter 20: A to Z Function and Instruction Reference
363
20ATOZ.DOC TI-86, Chap 20, US English Bob Fedorisko Revised: 02/13/01 2:42 PM Printed: 02/13/01 3:05 PM Page 363 of 118
20ATOZ.DOC TI-86, Chap 20, US English Bob Fedorisko Revised: 02/13/01 2:42 PM Printed: 02/13/01 3:05 PM Page 363 of 118
String entry:
"
STRNG menu
‡ program editor
I/O menu
"
string
"
Defines a string. When you display a string, it is left-
justified on the screen.
Strings are interpreted as text characters, not numbers.
For example, you cannot perform a calculation with
strings such as "4" or "A¹8". To convert between string
variables and equation variables, use
Eq
4
St(
and
St
4
Eq(
as described on pages 290 and 361, respectively.
"Hello"¶STR b
Hello
Disp STR+", Jan" b
Hello, Jan
Done
sub(
STRNG menu
sub(
string
,
begin
,
length
)
Returns a new string that is a subset of string, starting
at character number begin and continuing for the
specified length.
"The answer is:"¶STR b
The answer is:
sub(STR,5,6) b
answer
Subtraction:
N
T
numberA
N
numberB
Returns the value of numberB subtracted from
numberA
. The arguments can be real or complex.
6
N
2 b
4
10
NL
4.5 b
14.5
list
N
number
Returns a list in which number is subtracted from each
element of list. The arguments can be real or complex.
{10,9,8}
N
4 b
{6 5 4}
In
RectC
complex number mode:
{8,1,(5,2)}
N
3 b
{(5,0) (
L
2,0) (2,2)}