سؤال

I'm looking at some InstallScript code.

With integers, I'm used to the % operator being modulo. I'm not familiar with it in strings.

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

What is this shorthand for?

I realize this should be braindead simple to Google for but I haven't found any luck yet.

هل كانت مفيدة؟

المحلول

Per the InstallScript Reference Guide:

Find String Operator (%) Locates a substring in another string
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top