20060301
StrRotate
Syntax:
StrRotate
:
"<string>", <storage variable name> [,
n
]
Function:
Rotates the left side part and right side part of a string at the
n
th character, and
assigns the resulting string to the specified variable.
De
s
cription:
Rotation is to the left when “
n
” is positive, and to the right when “
n
” is negative.
Omitting “
n
” uses a default value of +1.
Example:
StrRotate "abcde", DDD, –2
k
Assigns the string “deabc” to variable DDD.
StrShift
Syntax:
StrShift
:
"<string>", <storage variable name> [,
n
]
Function:
Shifts a string left or right
n
characters, and assigns the resulting string to the
specified variable.
De
s
cription:
Shift is to the left when “
n
” is positive, and to the right when “
n
” is negative.
Omitting “
n
” uses a default value of +1.
Example:
StrShift "abcde", DDD, –2
k
Assigns the string “ abc” to variable DDD.
StrSrc
Syntax:
StrSrc
:
"<string 1>", "<string 2>", <storage variable name>
[,<search start location>]
Function:
Searches "<string 1>" starting from the specified point (
n
th character from
beginning of string) to determine if it contains the data specified by "<string
2>". If the data is found, this command returns the location of the first character
of "<string 2>", starting from the beginning of "<string 1>".
De
s
cription:
Omitting the start point causes the search to start from the beginning of
"<string 1>".
s
trToExp(
Syntax:
strToExp("<string>")
Function:
Converts a string to an expression, and executes the expression.
StrUpr
Syntax:
StrUpr
:
"<string>", <storage variable name>
Function:
Converts all the characters of a string to upper case and assigns the resulting
string to the specified variable.
12-6-44
Program Command Reference
Summary of Contents for ClassPad 330
Page 11: ...20060301 20090601 ClassPad 330 ClassPad OS Version 3 04 ...
Page 277: ...20060301 3 3 10 Storing Functions 3 Tap AND Plot OR Plot ...
Page 779: ...20090601 S Graph Line Clustered C S Graph Line Stacked E 13 9 2 Graphing ...
Page 780: ...20090601 S Graph Line 100 Stacked F S Graph Column Clustered G 13 9 3 Graphing ...
Page 781: ...20090601 S Graph Column Stacked I S Graph Column 100 Stacked J 13 9 4 Graphing ...
Page 782: ...20090601 S Graph Bar Clustered K S Graph Bar Stacked 9 13 9 5 Graphing ...