Remote-processing CAMBASIC Uživatelský manuál Strana 101

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 208
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 100
Commands - 68
LEFT$
String Function
SYNTAX: n$ = LEFT$(m$,p)
PURPOSE: To return the leftm ost p characters of m$.
REMARK S: If p is greater than the length of m$, the entire string (m$) will be returned. If p = 0, a null string is
returned.
RELATED: LEN, MID$, RIGHT$, INSTR
EXAMPLE: 10 A$ = "Hopeless"
20 B$ = LEFT$(A$,4)
30 PRINT B$
RUN
Hope
ERROR: < Data negative> for p
< Data > 255> for p
Zobrazit stránku 100
1 2 ... 96 97 98 99 100 101 102 103 104 105 106 ... 207 208

Komentáře k této Příručce

Žádné komentáře