Skip to content
Branch: master
Find file History

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
58.length-of-last-word.js
README.md

README.md

查找最后一个字符串

思路很简单,用正则匹配出最后一个单词,取其长度即可

You can’t perform that action at this time.