beautypg.com

The strng (string) menu, Creating a string – Texas Instruments TI-86 User Manual

Page 239

background image

Chapter 16: Programming

227

16PROG.DOC TI-86, Chap 16, US English Bob Fedorisko Revised: 02/13/01 2:36 PM Printed: 02/13/01 3:04 PM Page 227 of 16

16PROG.DOC TI-86, Chap 16, US English Bob Fedorisko Revised: 02/13/01 2:36 PM Printed: 02/13/01 3:04 PM Page 227 of 16

The STRNG (String) Menu

- “

"

sub

lngth

Eq

4

St

St

4

Eq

"

string

"

Marks the start and end of string

sub("

string

",

begin

,

length

)

sub(

stringName

,

begin

,

length

)

Returns a subset of

"

string

"

or stringName, starting at

begin

character place and length characters long

lngth

"

string

"

or

lngth

stringName

Returns the number of characters in

"

string

"

or stringName

Eq

4

St(

equationVariable

,

stringName

)

Converts equationVariable contents to stringName

St

4

Eq(

stringName

,

equationVariable

)

Converts stringName to equationVariable

Creating a String

ᕡ Display the

STRNG

menu.

- “

ᕢ Enter the open quotation mark, then

the string

SOLVE & GRAPH

, and then

the close quotation mark.

& 1 1
ã

S

д г

O

д г

L

д г

V

д г

E

ä ¤

- Ÿ & ( ¤
ã

G

д г

R

д г

A

д г

P

д г

H

ä

- “ &

ᕣ Store the string to the string variable

name

LABEL

.

1 X
ã

L

д г

A

д г

B

д г

E

д г

L

ä

b

"

also marks the start and

end of a formula to be
attached to a list; it is also an
item on the list editor menu
(Chapter 11).

Begin these steps on a blank
line on the home screen or in
the program editor.

To evaluate the contents of a
string, you must use St

4

Eq(

to convert it to an equation.