indexOf
Signature
Section titled “Signature”function indexOf( string calldata input, string calldata key) external pure returns (uint256);Description
Section titled “Description”Returns the index of the first occurrence of a key in an input string.
Returns NOT_FOUND (i.e. type(uint256).max) if the key is not found.
Returns 0 in case of an empty key.