Add a library with string and list utilities

Issue #162 resolved
Turgut Guneysu created an issue

The IoT data exchanges only allow for true, false, an integer, or a url_encoded_string.

Thus, when a LIST is sent out or received in string format “[item1, item2, item3]”, there is no way to convert it to a microBlocks LIST format.

Conversion to List could be accomplished with a SNAP! like operator:

Or some operation that does the reverse of:

Comments (6)

  1. Bernat Romagosa

    We’re planning to add a List and String utilities library that includes, among others, this operation you’re requesting.

    I’ve attached a preliminary version of that lib with just that block in the meantime.

  2. John Maloney repo owner

    There is now a “Strings” library in the “Other” category with many useful operations.

  3. Log in to comment