beautypg.com

K other – Casio FX-CG10 User Manual

Page 311

background image

8-27

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

)] (1 <

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(""[)]

+ (Joins two strings)

Function: Joins “” and “”.

Syntax: ""+""

Example: "abc"+"de"

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

k Other

RclCapt

Function: Displayed the contents specified by the capture memory number.

Syntax: RclCapt (capture memory number: 1 to 20)

This manual is related to the following products: