saveString(name, value)

Save a string value to the SPUPad as name.

The saveString() function can be used to save the results of serializing an nzLua object to a string, such as an array object or json object. The encode/decode functions can also be used to transform data into a binary string that can be stored in the SPUPad.

The number of different strings stored in the SPUPad should be kept to a relatively low number. Rather than storing many strings, the saveTable() function or json.encode() are supposed to be used to save an entire Lua table under a single name.

Example
saveString("words", "the quick brown fox jumps over the lazy dog.")
saveString("array", array.serialize(myarray))
saveString("json", json.encode(mytable))