Result of transaction

The result of a transaction is a verbose string like
Transaction executed and committed. Returned: (some 100)

How to extract/unwrap the return value, in this case (some 100)? Am I supposed to do string parsing?

Copied over to https://github.com/blockstack/clarity-js-sdk/issues/41