会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
河汉清且浅,牵牛敦而纯
博客园
首页
博问
闪存
新随笔
订阅
管理
2024年1月4日
php 字符串交集
摘要: echo '字符串交集'; $intersection = array_intersect(str_split($str1), str_split($str2)); $result = implode('', $intersection); # 找到两个字符串完全相同的部分 # 赋值给$longes
阅读全文
posted @ 2024-01-04 20:20 伊索
阅读(7)
评论(0)
推荐(0)
编辑