Logo

Programming-Idioms

History of Idiom 39 > diff from v49 to v50

Edit summary for version 50 by as:
[C#] sad

Version 49

2020-06-11, 13:13:34

Version 50

2020-06-11, 13:16:15

Idiom #39 Check if string contains a word

Set boolean ok to true if string word is contained in string s as a substring, or to false otherwise.

Idiom #39 Check if string contains a word

Set boolean ok to true if string word is contained in string s as a substring, or to false otherwise.

Variables
ok,word,s
Variables
ok,word,s
Code
s!=0
Code
MessageBox.Show("Hola");