Chaîne vide

Cet article est une ébauche concernant l’informatique.

Vous pouvez partager vos connaissances en l’améliorant (comment ?) selon les recommandations des projets correspondants.

Dans la théorie des langages formels, la chaîne vide, noté ε, ne comporte aucune lettre. Elle est de longueur nulle (|ε| = 0).

Représentation λ Langages de programmation
"" C, C++, Java, C#, Perl, PHP, Python, JavaScript, Go, Visual Basic .NET, Haskell, Objective-C (comme chaîne C), OCaml, Standard ML, Scala, Tcl, Lua
'' SQL, Perl, PHP, Python, JavaScript, Delphi, Pascal, MATLAB
{'\0'} C, C++, Objective-C (comme chaîne C)
std::string() C++
@"" Objective-C (comme constante NSString object)
[NSString string] Objective-C (comme nouvel objetNSString)
q(), qq() Perl
%{} Ruby
""""""
''''''
str()
Python
string.Empty C#, Visual Basic .NET
String.make 0 '-' OCaml
{} Tcl

Voir aussi

  • icône décorative Portail de l’informatique