Fisco Bcos solidity怎么判断字符串里包含指定的关键词

一、solidity怎么判断字符串里包含指定的关键词?

官方库代码如下:


  function indexOf(string memory src, string memory value)
        internal
        pure
        returns (int) {
   
    
    
        return indexOf(src, value, 0);
    }


functi

猜你喜欢

转载自blog.csdn.net/ws327443752/article/details/124660803