added string join method
This commit is contained in:
parent
37e6e24447
commit
69536783c7
2 changed files with 51 additions and 0 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue