Remote-processing CAMBASIC User Manual Page 101

  • Download
  • Add to my manuals
  • Print
  • Page
    / 208
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 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
Page view 100
1 2 ... 96 97 98 99 100 101 102 103 104 105 106 ... 207 208

Comments to this Manuals

No comments