    // console.log(map3.toString());

    // console.log("====stringiterator====");
    // let iterator = new AMS.StringIterator("Hello,world!!\nthis is a pen");
    // while (iterator.hasNext()) {
    //     console.log(iterator.readBeforeChar(",!"));
    // }

    // console.log("====readbeforecharwithnest====");
    // let iterator = new AMS.StringIterator(
    //     `AAA;BBB;CCC{XXX{PPP};YYY};/DDD{10};/DDD`
    // );
    // while (iterator.hasNext()) {
    //     console.log(iterator.readBeforeCharWithNest(";", "{}"));