Denso RC5 Especificações Página 505

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 692
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 504
Chapter 15 Functions
15-57
LEFT$ (Function) [Conforms to SLIM]
Function
Extracts the left part of a character string.
Format
LEFT$ (<Character string >, <Number of digits>)
Explanation
This statement extracts a character string for <Number of digits> from the left
side of <Character string>.
If the character string includes a NULL value, the NULL value is returned.
If a value longer than the character string is designated in <Number of digits>,
the whole character string is returned.
Note: <Number of digits> is handled as byte counts.
Related Terms
LEN, MID$, RIGHT$
Example
DIM li1 As Integer
DEFSTR ls1, ls2
ls1 = LEFT$( “abcdefg”, 3 ) 'Assigns 3 characters “abc” from the left of the
'character string in “abcdefg” to ls1.
ls2 = LEFT$( ls1, li1 )
'Assigns a character string for the value of the number
'of characters in li1 from the left of ls1 to ls2.
Vista de página 504
1 2 ... 500 501 502 503 504 505 506 507 508 509 510 ... 691 692

Comentários a estes Manuais

Sem comentários