摘要: 接上篇https://www.cnblogs.com/sengzhao666/p/11850849.html 2、数据处理: ·统计最受欢迎的视频/文章的Top10访问次数 (id) ·按照地市统计最受欢迎的Top10课程 (ip) ·按照流量统计最受欢迎的Top10课程 (traffic) 分两步 阅读全文
posted @ 2019-11-14 21:40 田智凯 阅读(611) 评论(0) 推荐(0) 编辑
摘要: str.trim(); //去掉首尾空格 str.replace(" ",""); //去除所有空格,包括首尾、中间 str.replaceAll(" ", ""); //去掉所有空格,包括首尾、中间 str.replaceAll(" +",""); //去掉所有空格,包括首尾、中间str.repl 阅读全文
posted @ 2019-11-14 16:58 田智凯 阅读(329) 评论(0) 推荐(0) 编辑