EasyManuals Logo
Home>Casio>Desktop>Z-1

Casio Z-1 User Manual

Casio Z-1
126 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #71 background imageLoading...
Page #71 background image
71
MID$
PURPOSE: Returns a substring of a specified length from a specified position within
a string.
FORMAT:
MID$
( string
,
position
[ ,
number of characters ] )
String expression
Numeric expression
Numeric expression
EXAMPLE: MID$ (A$, 5, 3)
PARAMETERS:
1. String: string expression
2. Position: numeric expression truncated to an integer in the [0 , 256[ range.
3. Number of characters: numeric expression truncated to an integer in the
[0 , 256[ range. The default option is from the specified position to the end of
the string when this parameter is omitted.
EXPLANATION:
1. Returns the substring of a specified length from a specified position within a
string. A substring from the specified position to the end of the string when the
length of the substring is not specified.
2. A substring of length 0 (null) is returned when the specified position exceeds
the length of the string.
3. A substring from the specified position to the end of the string is returned
when the specified number of characters is greater than the number of
characters from the specified position to the end of the string.
SEE: RIGHT$, LEFT$
RIGHT$
PURPOSE: Returns a substring of a specified length counting from the right of a
string.
FORMAT:
RIGHT$
( string
,
number of characters )
String expression
Numeric expression
EXAMPLE: RIGHT$ (“ABCDEF”, 3)
PARAMETERS:
1. String: string expression
2. Number of characters: numeric expression truncated to an integer in the
[0 , 256[ range.
EXPLANATION:
1. Returns the substring of a specified length from the right of a string.
2. The entire string is returned when the specified number of characters is
greater than the number of characters of the string.
SEE: MID$, LEFT$
F
0
F
0

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Casio Z-1 and is the answer not in the manual?

Casio Z-1 Specifications

General IconGeneral
BrandCasio
ModelZ-1
CategoryDesktop
LanguageEnglish

Related product manuals