Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
例子:
s str="10/1/96" s $P(str,"/",2)=2" w !,str
输出: 10/2/96
在调用片段函数中,索引 4, 1处的值是否更改为2?
或者是使用值10/2/96创建并复制到 str 中的新字符串。
Set $P[IECE] 和 Set $E[XTRACT] 修改字符串。