Denso BHT-200QW Especificaciones Pagina 343

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 587
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 342
Chapter 15. Function Reference
335
____________________________________________________________________
MIDdle String function
MID$
Returns a portion of a given string expression from anywhere in the string.
____________________________________________________________________
Syntax:
Syntax:Syntax:
Syntax:
MID$(stringexpression,startposition[,stringlength])
Parameter:
Parameter:Parameter:
Parameter:
startposition
A numeric expression which returns a value from 1 to 255.
stringlength
A numeric expression which returns a value from 0 to 255.
Description:
Description:Description:
Description:
Starting from a position specified by startposition, MID$ extracts a portion of a string
specified by stringexpression, by the number of characters specified by
stringlength.
A returned value of MID$ depends upon the conditions as listed below.
Conditions Returned value
If stringlength
option is omitted:
All characters from startposition to the
end of the string
Example: PRINT MID$("ABC123",3)
C123
If stringlength is greater than the
number of characters contained
between startposition and the end
of the string:
All characters from startposition to the
end of the string
Example: PRINT MID$("ABC123",3,10)
C123
If startposition is greater than the
length of stringexpression:
Null string
Example: PRINT MID$("ABC123",10,1)
NOTE
BHT-BASIC does not support such MID$ function that replaces a part of a
string variable.
Vista de pagina 342
1 2 ... 338 339 340 341 342 343 344 345 346 347 348 ... 586 587

Comentarios a estos manuales

Sin comentarios