diff options
| author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-09-17 23:47:59 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-17 23:47:59 +0800 |
| commit | 364caae9b6e47b8d5e1bab950aebc5b35bc4baad (patch) | |
| tree | e554b5859e0135b8f644986768306d5f3ee5683e /utils/stringUtils.js | |
| parent | eb8bc77bf2d790e97fe793eb96ad77e1b4d2bbbf (diff) | |
| parent | 12f3a81cf12c6ffc24a7f2a0e8102dfba3fddf82 (diff) | |
| download | SoopyV2-364caae9b6e47b8d5e1bab950aebc5b35bc4baad.tar.gz SoopyV2-364caae9b6e47b8d5e1bab950aebc5b35bc4baad.tar.bz2 SoopyV2-364caae9b6e47b8d5e1bab950aebc5b35bc4baad.zip | |
Merge pull request #71 from Soopyboo32/Babel
Diffstat (limited to 'utils/stringUtils.js')
| -rw-r--r-- | utils/stringUtils.js | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/utils/stringUtils.js b/utils/stringUtils.js deleted file mode 100644 index f28841c..0000000 --- a/utils/stringUtils.js +++ /dev/null @@ -1,15 +0,0 @@ -module.exports = { - - firstLetterCapital: firstLetterCapital, - - firstLetterWordCapital: firstLetterWordCapital - -} - -function firstLetterCapital(string) { - return string.substr(0, 1).toUpperCase() + string.substr(1) -} - -function firstLetterWordCapital(string) { - return string.split(" ").map(firstLetterCapital).join(" ") -}
\ No newline at end of file |
