Comparison of programming languages (string functions)
String functions are used in computer programming languages to manipulate a string or query information about a string.[]
Most programming languages that have a string datatype will have some string functions although there may be other low-level ways within each language to handle strings directly. In object-oriented languages, string functions are often implemented as properties and methods of string objects. In functional and list-based languages a string is represented as a list, therefore all list-manipulation procedures could be considered string functions. However such languages may implement a subset of explicit string-specific functions as well.
For function that manipulate strings, modern object-oriented languages, like C# and Java have immutable strings and return a copy, while others, like C manipulate the original string unless the programmer copies data to a new string. See for example Concatenation below.
The most basic example of a string function is the
length function. This function returns the length of a string literal.Other languages may have string functions with similar or exactly the same syntax or parameters or outcomes. For example, in many languages the length function is usually represented as len. The below list of common functions aims to help limit this confusion.
Common string functions (multi language reference)
String functions common to many languages are listed below, including the different names used. The below list of common functions aims to help programmers find the equivalent function in a language. Note, string concatenation and regular expressions are handled in separate pages. Statements in guillemets are optional.CharAt
| Definition | charAt returns character. |
| Description | Returns character at index in the string. |
| Equivalent | See substring of length 1 character. |
| Format | Languages | Base index |
string | ALGOL 68, APL, Julia, Pascal, Object Pascal, Seed7 | 1 |
string | C, C++, C#, Cobra, D, FreeBASIC, Go, Python, PHP, Ruby, Windows PowerShell, JavaScript, APL | 0 |
string | PHP | 0 |
string | Ada | ≥1 |
Mid | VB | 1 |
MID$ | BASIC | 1 |
string.Chars | VB.NET | 0 |
string | Fortran | 1 |
string.charAt | Java, JavaScript | 0 |
string. | OCaml, F# | 0 |
string.chars.nth | Rust | 0 |
string | Pick Basic | 1 |
String.sub | Standard ML | 0 |
string !! i | Haskell | 0 |
| Scheme | 0 |
| Common Lisp | 0 |
| ISLISP | 0 |
| Clojure | 0 |
substr | Perl 5 | 0 |
substrstring.substr | Raku | 0 |
substr | PL/I | 1 |
string.at | C++ | 0 |
lists:nth | Erlang | 1 |
| Objective-C | 0 |
string.sub:sub | Lua | 1 |
string at: i | Smalltalk | 1 |
string index string i | Tcl | 0 |
StringTake | Mathematica, Wolfram Language | 1 |
string@''i | Eiffel | 1 |
string | COBOL | 1 |
$ | Bash | 0 |
i''⌷string | APL | 0 or 1 |
var
MyStr: string = 'Hello, World';
MyChar: Char;
begin
MyChar := MyStr; // 'e'
"Hello, World"; // 'e'
- Example in ALGOL 68 #
// Example in C
- include
printf; // 'e'
printf; // 'W'
printf; // 'd'
printf; // 'Hello, World'
printf, World; // 'Hello, World'
import std;
using std::string;
char myStr1 = "Hello, World";
string myStr2 = "Hello, World";
std::println, World; // 'Hello, World'
std::println; // '2'
std::println; // ''
// Example in C#
"Hello, World"; // 'l'
- Example in Perl 5
- Examples in Python
"Hello, World" # 'r'
- Example in Raku
' Example in Visual Basic
Mid
' Example in Visual Basic.NET
"Hello, World".Chars ' "l"c
" Example in Smalltalk "
'Hello, World' at: 2. "$e"
//Example in Rust
"Hello, World".chars.nth; // Some
Compare (integer result)
| Definition | compare returns integer. |
| Description | Compares two strings to each other. If they are equivalent, a zero is returned. Otherwise, most of these routines will return a positive or negative result corresponding to whether string1 is lexicographically greater than, or less than, respectively, than string2. The exceptions are the Scheme and Rexx routines which return the index of the first mismatch, and Smalltalk which answer a comparison code telling how the receiver sorts relative to string parameter. |
- Example in Perl 5
- Example in Python
- Examples in Raku
"world" cmp "hello"; # returns More
"hello" cmp "hello"; # returns Same
/** Example in Rexx */
compare /* returns index of mismatch: 1 */
; Example in Scheme
; returns index of mismatch: 0
Compare (relational operator-based, Boolean result)
| Format | Languages |
string1 OP string2, where OP can be any of and | Pascal, Object Pascal, OCaml, Seed7, Standard ML, BASIC, VB, VB.NET, F# |
string1 OP string2, where OP can be any of and ; Also: and | ALGOL 68 |
, where OP can be any of and | Scheme |
, where OP can be any of and | Scheme |
, where OP can be any of and | Common Lisp |
, where OP can be any of and | ISLISP |
string1 OP string2, where OP can be any of and | Rexx |
string1 OP string2, where OP can be any of and | PL/I |
string1 OP string2, where OP can be any of and | Ada |
string1 OP string2, where OP can be any of and | Erlang |
string1 OP string2, where OP can be any of and | Haskell |
string1 OP string2, where OP can be any of and | Perl, Raku |
string1 OP string2, where OP can be any of and | C++, C#, D, Go, JavaScript, Python, PHP, Ruby, Rust, Swift |
string1 OP string2, where OP can be any of and | Windows PowerShell |
string1 OP string2, where OP can be any of and | Lua |
string1 OP string2, where OP can be any of and | Smalltalk |
string1 OP string2, where OP can be any of and and | Fortran. |
string1 OP string2 where OP can be any of as well as worded equivalents | COBOL |
string1 OP string2 where OP can be any of and | Cobra |
string1 OP string2 is available in the syntax, but means comparison of the pointers pointing to the strings, not of the string contents. Use the Compare function. | C, Java |
string1.METHOD where METHOD is any of eq, ne, gt, lt, ge, le | Rust |
% Example in Erlang
"hello" > "world". % returns false
- Example in Raku
"art" lt "painting"; # returns True
- Example in Windows PowerShell
;; Example in Common Lisp
; returns nil
; returns non nil
Concatenation
| Definition | concatenate returns string. |
| Description | Concatenates two strings to each other, returning the combined string. Note that some languages like C have mutable strings, so really the second string is being appended to the first string and the mutated string is returned. |
| Format | Languages |
string1 ''adjacent_to string2 | Rexx |
string1 whitespace string2 | Rexx |
string1 & string2 | Ada, FreeBASIC, Seed7, BASIC, VB, VB.NET, COBOL |
strcat | C, C++ |char] Pointer |
string1. string2 | [Perl, PHP |
string1 + string2 | ALGOL 68, C++, C#, Cobra, FreeBASIC, Go, Pascal, Object Pascal, Java, JavaScript, Windows PowerShell, Python, Ruby, Rust, F#, Swift, Turing, VB |
string1 ~ string2 | D, Raku |
| Scheme, ISLISP |
| Common Lisp |
| Clojure |
string1 | Rexx, SQL, PL/I |
string1 // string2 | Fortran |
string1 ++ string2 | Erlang, Haskell |
string1 ^ string2 | OCaml, Standard ML, F# |
| Objective-C |
string1.. string2 | Lua |
string1, string2 | Smalltalk, APL |
string1 string2 | SNOBOL |
string1string2 | Bash |
string1 <> string2 | Mathematica |
| concat string1 string2'' | Tcl |
'abc' + 'def'; // returns "abcdef"
// Example in C#
"abc" + "def"; // returns "abcdef"
' Example in Visual Basic
"abc" & "def" ' returns "abcdef"
"abc" + "def" ' returns "abcdef"
"abc" & Null ' returns "abc"
"abc" + Null ' returns Null
// Example in D
"abc" ~ "def"; // returns "abcdef"
;; Example in common lisp
; returns "abc def ghi"
- Example in Perl 5
"Perl ". 5; # returns "Perl 5"
/* Example in PL/I */
"abc" || "def" /* returns "abcdef" */
- Example in Raku
"Perl " ~ 6; # returns "Perl 6"
/* Example in Rexx */
"Strike"2 /* returns "Strike2" */
"Strike" 2 /* returns "Strike 2" */
Contains
| Definition | contains returns boolean |
| Description | Returns whether string contains [|substring] as a substring. This is equivalent to using Find and then detecting that it does not result in the failure condition listed in the third column of the [|Find] section. However, some languages have a simpler way of expressing this test. |
| Related | Find |
¢ Example in ALGOL 68 ¢
string in string; ¢ returns true ¢
string in string; ¢ returns false ¢
// Example In C#
"Hello mate".Contains; // returns true
"word".Contains; // returns false
- Example in Python
"z" in "word" # returns false
- Example in Raku
"¡Buenos días!".contains; # returns True
" Example in Smalltalk "
'Hello mate' includesSubstring: 'e' " returns true "
'word' includesSubstring: 'z' " returns false "
Equality
Tests if two strings are equal. See also #Compare and #Compare. Note that doing equality checks via a generic Compare with integer result is not only confusing for the programmer but is often a significantly more expensive operation; this is especially true when using "C-strings".| Format | Languages |
string1 string2 | Python, C++, C#, Cobra, Go, JavaScript, PHP, Ruby, Rust, Erlang, Haskell, Lua, D, Mathematica, Swift |
string1 string2 | JavaScript, PHP |
string1 string2string1.EQ. string2 | Fortran |
strcmp 0 | C |
| Scheme |
| Common Lisp, ISLISP |
string1 = string2 | ALGOL 68, Ada, Object Pascal, OCaml, Pascal, Rexx, Seed7, Standard ML, BASIC, VB, VB.NET, F#, Smalltalk, PL/I, COBOL |
test string1 = string2 | Bourne Shell |
string1 eq string2 | Perl, Raku, Tcl |
string1.equals | Cobra, Java |
string1.Equals | C# |
string1 -eq string2::Equals | Windows PowerShell |
| Objective-C |
string1 ≡ string2 | APL |
string1.eq | Rust |
// Example in C#
"hello" "world" // returns false
' Example in Visual Basic
"hello" = "world" ' returns false
- Examples in Perl 5
'hello' eq 'hello' # returns 1
- Examples in Raku
'hello' eq 'hello' # returns True
- Example in Windows PowerShell
⍝ Example in APL
'hello' ≡ 'world' ⍝ returns 0
Find
| Definition | find returns integer |
| Description | Returns the position of the start of the first occurrence of substring in string. If the substring is not found most of these routines return an invalid index value – -1 where indexes are 0-based, 0 where they are 1-based – or some value to be interpreted as Boolean FALSE. |
| Related | instrrev |
Examples
- Common Lisp
- :
; returns NIL
- C#
- :
"Hello mate".IndexOf; // returns 9
"word".IndexOf; // returns -1
- Raku
- :
"Hello, there!".index # returns Nil
- Scheme
- :
; returns #f
- Visual Basic
- :
InStr ' returns 2
InStr ' returns 10
InStr ' returns 0
- Smalltalk
- :
- :
- :
indexOfSubCollection:'late'
ifAbsent: "returns 99"
- :
indexOfSubCollection:'late'
ifAbsent: "raises an exception"
Find character
| Definition | find_character returns integer |
| Description | Returns the position of the start of the first occurrence of the character char in string. If the character is not found most of these routines return an invalid index value – -1 where indexes are 0-based, 0 where they are 1-based – or some value to be interpreted as Boolean FALSE. This can be accomplished as a special case of #Find, with a string of one character; but it may be simpler or more efficient in many languages to locate just one character. Also, in many languages, characters and strings are different types, so it is convenient to have such a function. |
| Related | find |
// Examples in C#
"Hello mate".IndexOf; // returns 1
"word".IndexOf // returns -1
; Examples in Common Lisp
; returns 1
; returns NIL
Given a set of characters, SCAN returns the position of the first character found, while VERIFY returns the position of the first character that does not belong to the set.
Format
| Definition | format returns string |
| Description | Returns the formatted string representation of one or more items. |
// Example in C#
String.Format; // returns "My pen costs $19.99"
// Example in Object Pascal
Format; // returns "My pen costs $19.99"
// Example in Java
String.format; // returns "My pen costs $19.99"
- Examples in Raku
1.fmt; # returns "0001"
- Example in Python
"My costs $".format; # returns "My pen costs $19.99"
- Example in Python 3.6+
f"My costs " #returns "My pen costs 19.99"
; Example in Scheme
; returns "My pen costs $19.99"
/* example in PL/I */
put string edit
/* returns "My pen costs $19.99" */
Inequality
Tests if two strings are not equal. See also #Equality.| Format | Languages | |
string1 ne string2string1 NE string2 | ALGOL 68 – note: the operator "ne" is literally in bold type-font. | |
string1 /= string2 | ALGOL 68, Ada, Erlang, Fortran, Haskell | |
string1 <> string2 | BASIC, VB, VB.NET, Pascal, Object Pascal, OCaml, PHP, Seed7, Standard ML, F#, COBOL, Cobra, Python 2 | |
string1 # string2 | BASIC | |
string1 ne string2 | Perl, Raku | |
| Scheme | |
| Common Lisp | |
| ISLISP | |
| Clojure | |
string1 != string2 | C++, C#, Go, JavaScript, PHP, Python, Ruby, Rust, Swift, D | [Windows PowerShell |
string1 ~= string2 | Lua, Smalltalk | |
string1 ≢ string2 | APL | |
string1.ne | Rust |
// Example in C#
"hello" != "world" // returns true
' Example in Visual Basic
"hello" <> "world" ' returns true
;; Example in Clojure
; ⇒ true
- Example in Perl 5
- Example in Raku
- Example in Windows PowerShell
index
see #Findindexof
see #Findinstr
see #Findinstrrev
see #rfindjoin
| Format | Languages | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
std.string.join | D | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
string:join | Erlang | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
join | Perl, PHP, Raku | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
implode | PHP | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
separator.join | Python, Swift 1.x | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
array_of_strings.join | Ruby, JavaScript, Raku, Rust | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Scheme | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Common Lisp | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Clojure | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
strings.Join | Go | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
join | Seed7 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
String.concat separator ''list_of_strings | OCaml | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
String.concatWith separator list_of_strings | Standard ML | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Data.List.intercalate separator list_of_strings | Haskell | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Join | VB | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
String.Join | VB.NET, C#, F# | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
String.join | Java 8+ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
&array_of_strings -join separator'' | Windows PowerShell | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Objective-C | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
table.concat | Lua | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|