永洪社区

标题: 如何截取内容 [打印本页]

作者: yonghong_XXX    时间: 2023-9-5 15:46
标题: 如何截取内容
比如字段内容:A产品,B产品,C产品,怎样截取不展示产品两个字样呢,只展示产品前面的内容呢?

作者: yhdata_lyaa    时间: 2023-9-5 15:46
参考https://club.yonghongtech.com/thread-37297-1-1.html
作者: yonghong_XXX    时间: 2023-9-5 16:18
yhdata_lyaa 发表于 2023-9-5 15:46
参考https://club.yonghongtech.com/thread-37297-1-1.html

这个不行的呢,也有可能  CB产品,def产品呢。产品字样前面的字数不固定啊。
作者: yonghong_XXX    时间: 2023-9-5 16:22
不用了,问题已用replace解决了哈。




欢迎光临 永洪社区 (http://club.yonghongtech.com/) Powered by Discuz! X3.4