Ein abschließendes Zeichen (z.B. ein Null-Byte) ist daher unnötig.
A final mark (eg a null byte) is therefore unnecessary.
Aber denken Sie daran, dass das Null-Byte ein Zeichen wie jedes andere ist...
But, remember, the null byte is a character like any other one...
Eine weitere Konvention ist, dass mehr als vier aufeinander folgenden Null-Byte mit einem doppelten Doppelpunkt zusammengefasst werden können.
Another convention is that more than four consecutive zero bytes may be collapsed into a double colon.
Alle führenden Null-Byte innerhalb eines bestimmten Felds können ausgelassen werden, alle anderen Nullen jedoch nicht.
Any leading zero bytes within a given field may be dropped, but zeros within the field or at its end may not.
Länge des folgenden Strings , inklusive abschließendem Null-Byte.
Length of the following string, including closing zero byte.
Wir kennen die Lösung bereits: Das Null-Byte.
We already know the solution: the null byte.
Die Größe eines konstanten Zeichenkettenobjekts ergibt sich aus der Byteanzahl der Zeichenkette plus einem zusätzlichen Byte für das abschließende Null-Byte.
The size of a string constant object is the number of bytes associated with the string plus one additional byte for the terminating null byte.
Anzahl der Zeichen (ohne abschließendes Null-Byte), die bei ausreichendem Speicherplatz in die Ausgabe geschrieben worden wären.
number of characters (excluding the terminating null byte) which would have been written to the final string if enough space had been available.
Aktionen strlen strlen gibt die Länge der angegebenen Zeichenkette in Byte ohne das abschließende Null-Byte zurück.
actions strlen strlen returns the length of the specified string in bytes, excluding the terminating null byte.
Die Zeichenkette muss mit einem Null-Byte beendet werden, was \0 in C entspricht.
The character string must be terminated with a null byte, corresponding to \0 in C.
Entsprechend kann das Muster. (Satzpunkt) nicht auf ein Null-Byte passen, wenn TYP binary ist.
Conversely, when type is binary the pattern. (period) might not match a null byte.
Die Zeichenkettenzuweisung erfolgt mit dem Operator = . Dabei werden die tatsächlichen Byte der Zeichenkette ab dem Quelloperanden bis zu einschließlich dem Null-Byte in die Variable auf der linken Seite kopiert, bei der es sich um den Typ string handeln muss.
String assignment is performed using the = operator and copies the actual bytes of the string from the source operand up to and including the null byte to the variable on the left-hand side, which must be of type string.
Die Zeichenkette enthält immer ein abschließendes Null-Byte ('\0').
The string always includes a terminating null byte ('\0').