IN string |
Smart pascal source code
var s: String; WriteLn('a' in 'banana'); WriteLn('z' in 'banana'); WriteLn('a' in s); s := 'hello'; WriteLn('el' in s); WriteLn(s in 'hello'); WriteLn(s not in 'hello'); {<<< RESULT - CONSOLE LOG >>> ----------------------------- True False False True True False ----------------------------- {<<<<<<<<< THE END >>>>>>>>>}