bonsai-web/plugins/HyphenateString/page.jsx

5 lines
105 B
React
Raw Normal View History

2024-05-28 01:51:53 +03:30
const hyphenateString = (str) => {
return str.split(" ").join("-");
};
export default hyphenateString;