gpt4 book ai didi

installscript - % 运算符对 InstallScript 中的字符串有什么作用?

转载 作者:行者123 更新时间:2023-12-04 07:30:06 25 4
gpt4 key购买 nike

我正在查看一些 InstallScript 代码。

对于整数,我习惯于将 % 运算符取模。我对字符串不熟悉。

if (szSomeString % szSomeOtherString) then
// do something
endif;

这个简写是什么?

我意识到这对谷歌来说应该是简单的脑残,但我还没有找到任何运气。

最佳答案

InstallScript Reference Guide :

Find String Operator (%) Locates a substring in another string

关于installscript - % 运算符对 InstallScript 中的字符串有什么作用?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13038327/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com