LEFT/de

Aus MCS Wiki AVR
< LEFT(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
((**COPIED FROM ENGLISH PAGE**) =)
(Anmerkungen)
 
(4 dazwischenliegende Versionen von einem Benutzer werden nicht angezeigt)
Zeile 1: Zeile 1:
 
= <span class="f_Header">Funktion</span> =
 
= <span class="f_Header">Funktion</span> =
  
Gibt die linkesten Zeichen einer Zeichenkette zurück. Anzahl: number.
+
Gibt die linkesten n Zeichen einer Zeichenkette zurück.
  
 
<span style="font-family: Arial;">&nbsp;</span>
 
<span style="font-family: Arial;">&nbsp;</span>
Zeile 15: Zeile 15:
 
<span style="font-family: Arial;">&nbsp;</span>
 
<span style="font-family: Arial;">&nbsp;</span>
  
= <span class="f_Header">Remarks</span> =
+
= <span class="f_Header">Anmerkungen</span> =
 
<div style="padding: 0px; margin: 0px 0px 0px 4px;">
 
<div style="padding: 0px; margin: 0px 0px 0px 4px;">
 
{| width="569" cellspacing="0" cellpadding="1" border="1" style="border: 2px solid rgb(0, 0, 0); border-spacing: 0px; border-collapse: collapse;"
 
{| width="569" cellspacing="0" cellpadding="1" border="1" style="border: 2px solid rgb(0, 0, 0); border-spacing: 0px; border-collapse: collapse;"
 
|- style="vertical-align: top;"
 
|- style="vertical-align: top;"
 
| valign="top" width="13%" style="width: 70px; border: 1px solid rgb(0, 0, 0);" |  
 
| valign="top" width="13%" style="width: 70px; border: 1px solid rgb(0, 0, 0);" |  
Var
+
var
  
 
| valign="top" width="100%" style="width: 490px; border: 1px solid rgb(0, 0, 0);" |  
 
| valign="top" width="100%" style="width: 490px; border: 1px solid rgb(0, 0, 0);" |  
The string that is assigned.
+
Die Ziel-Zeichenkette.
  
 
|- style="vertical-align: top;"
 
|- style="vertical-align: top;"
 
| valign="top" width="13%" style="width: 70px; border: 1px solid rgb(0, 0, 0);" |  
 
| valign="top" width="13%" style="width: 70px; border: 1px solid rgb(0, 0, 0);" |  
Var1
+
var1
  
 
| valign="top" width="100%" style="width: 490px; border: 1px solid rgb(0, 0, 0);" |  
 
| valign="top" width="100%" style="width: 490px; border: 1px solid rgb(0, 0, 0);" |  
The source string.
+
Die Quell-Zeichenkette.
  
 
|- style="vertical-align: top;"
 
|- style="vertical-align: top;"
Zeile 37: Zeile 37:
  
 
| valign="top" width="100%" style="width: 490px; border: 1px solid rgb(0, 0, 0);" |  
 
| valign="top" width="100%" style="width: 490px; border: 1px solid rgb(0, 0, 0);" |  
The number of characters to get from the source string.
+
Anzahl von Zeichen, die aus der Quell-Zeichenkette von links gelesen werden sollen.
  
 
|}
 
|}
Zeile 45: Zeile 45:
 
<span style="font-family: Arial;">&nbsp;</span>
 
<span style="font-family: Arial;">&nbsp;</span>
  
= <span class="f_Header">See also</span> =
+
= <span class="f_Header">Siehe auch</span> =
  
 
[[RIGHT]]&nbsp;,&nbsp;[[MID]]
 
[[RIGHT]]&nbsp;,&nbsp;[[MID]]
Zeile 53: Zeile 53:
 
<span style="font-family: Arial;">&nbsp;</span>
 
<span style="font-family: Arial;">&nbsp;</span>
  
= <span class="f_Header">Partial Example</span> =
+
= <span class="f_Header">Beispiel</span> =
  
 
<br/><source lang="bascomavr">
 
<br/><source lang="bascomavr">

Aktuelle Version vom 27. Februar 2013, 01:00 Uhr

Inhaltsverzeichnis

Funktion

Gibt die linkesten n Zeichen einer Zeichenkette zurück.

 

 

Syntax

var = LEFT(var1 , n)

 

 

Anmerkungen

var

Die Ziel-Zeichenkette.

var1

Die Quell-Zeichenkette.

n

Anzahl von Zeichen, die aus der Quell-Zeichenkette von links gelesen werden sollen.

 

 

Siehe auch

RIGHT , MID

 

 

Beispiel


Dim S As String * 15 , Z As String * 15
S ="ABCDEFG"
Z = Left(s , 5)
Print Z 'ABCDE
Z = Right(s , 3) : Print Z
Z = Mid(s , 2 , 3) : Print Z
End

Languages   English Deutsch  
Meine Werkzeuge
Namensräume
Varianten
Aktionen
Navigation
In anderen Sprachen
Sprache