beautypg.com

Casio FX-9750GII User Manual

Page 231

background image

8-20

StrMid(

Function: Extracts from the

n

-th to the

m

-th character of a string.

Syntax: StrMid("",

n

[,

m

)]

(0

n

9999,

n

is a natural number)

Description: Omitting “

m

” will extract from the

n

-th character to the end of the string.

StrRight(

Function: Copies a string up to the

n

th character from the right.

Syntax: StrRight("",

n

[)]

(0

n

9999,

n

is a natural number)

StrRotate(

Function: Rotates the left side part and right side part of a string at the

n

th character.

Syntax: StrRotate("", [,

n

)]

(–9999

n

9999,

n

is an integer)

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", 2) ........ Returns the string “cdeab”.

StrShift(

Function: Shifts a string left or right

n

characters.

Syntax: StrShift("", [,

n

)]

(–9999

n

9999,

n

is an integer)

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", 2) ........ Returns the string “cde”.

StrSrc(

Function: Searches “” starting from the specified point (

n

th character from

beginning of string) to determine if it contains the data specified by “”. If the data is
found, this command returns the location of the first character of “”, starting from the
beginning of “”.

Syntax: StrSrc("", ""[,

n

)]

(0

n

9999,

n

is a natural number)

Description: Omitting the start point causes the search to start from the beginning of
”.

StrUpr(

Function: Converts all the characters of a string to upper case.

Syntax: StrUpr(""[)]

+

Function: Joins “” and “”.

Syntax: ""+""

Example: "abc"+"de"

mStr 1 .......... Assigns “abcde” to Str 1.

This manual is related to the following products: