Repeated word in a string function for Solidity 0.8.* versions Find how many repeated word in a string with Solidity 0.8.* versions