added string join method

This commit is contained in:
Aidan 2020-08-20 23:39:57 -07:00
parent 37e6e24447
commit 69536783c7
No known key found for this signature in database
GPG key ID: 327711E983899316
2 changed files with 51 additions and 0 deletions

View file

@ -143,6 +143,13 @@ func GenFuncTable() ast.FuncTable {
Args: -1,
},
"join": &ast.Function{
Function: Join,
Name: "join",
TimesCalled: 0,
Args: 2,
},
"split": &ast.Function{
Function: Split,
Name: "split",