gvvaughan / lyaml

LibYAML binding for Lua.
gvvaughan.github.io/lyaml
Other
208 stars 34 forks source link

Help , How to remove the last line ... when lyaml.dump({t}) #43

Closed zhixiongdu027 closed 3 years ago

gvvaughan commented 3 years ago

Why would you want to do that? That's the YAML end of document marker.

But... if that's what you really want, it's just a string, and you can slice and dice it like any other Lua string.