Remote Processing Coorporation RPC-320 Dokumentacja Strona 100

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 186
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 99
Commands - 70
MID$
String Function
SYNTAX: n$ = MID$(m$,p[,q])
PURPOSE: To return the requested part of a given string.
REMARKS: The function returns a string of length q characters from m$ beginning with the pth character. If q is
equal to zero, or p is greater than the length of m$, then MID$ returns a null string.
If q is omitted, then a string from position p to the end of m$ is returned.
RELATED: LEFT$, LEN, RIGHT$, INSTR, MID$ Statement
EXAMPLE: 10 A$ = "ABCDEFG"
20 PRINT MID$(A$,5,2)
RUN
EF
ERROR: <Illegal argument> – if p or q is out of range
<Illegal argument> – if p = 0
<Data negative> – for p or q
Przeglądanie stron 99
1 2 ... 95 96 97 98 99 100 101 102 103 104 105 ... 185 186

Komentarze do niniejszej Instrukcji

Brak uwag