河汉清且浅,牵牛敦而纯
摘要: echo '字符串交集'; $intersection = array_intersect(str_split($str1), str_split($str2)); $result = implode('', $intersection); # 找到两个字符串完全相同的部分 # 赋值给$longes 阅读全文
posted @ 2024-01-04 20:21 伊索 阅读(4) 评论(0) 推荐(0) 编辑