Skip to content

Instantly share code, notes, and snippets.

View Codeprime-21's full-sized avatar
:shipit:
Focusing

Prashanth Gopalabhatla Codeprime-21

:shipit:
Focusing
View GitHub Profile
// SPDX-License-Identifier: MIT
// Source:
// https://github.com/ensdomains/ens-contracts/blob/master/contracts/ethregistrar/StringUtils.sol
pragma solidity >=0.8.4;
library StringUtils {
/**
* @dev Returns the length of a given string
*
* @param s The string to measure the length of