Casio CLASSPAD 330 3.04 User Manual
Page 700
20060301
StrRotate
Syntax: StrRotate
: "
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.
Description: 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
: "
n
]
Function:
Shifts a string left or right
n
characters, and assigns the resulting string to the
specified variable.
Description: 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
: "
[,
Function:
Searches "
n
th character from
beginning of string) to determine if it contains the data specified by "
of "
Description: Omitting the start point causes the search to start from the beginning of
"
strToExp(
Syntax: strToExp("
Function:
Converts a string to an expression, and executes the expression.
StrUpr
Syntax: StrUpr
: "
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