在Go中没有开头,结尾功能?


153

只是好奇地发现:为什么Go编程语言的标准库中没有诸如startswith,endswith等标准函数?

Answers:


By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.