mirror of
https://github.com/Open-Argon/Argon.git
synced 2026-10-28 09:43:38 +00:00
9 lines
382 B
Plaintext
9 lines
382 B
Plaintext
const lookFor = 'argon'
|
|
const mySentence = input('Enter a sentence that contains the word \''+lookFor+'\': ')
|
|
const doesContainArgon = 'argon' is in split(' ', lower(mySentence))
|
|
|
|
if (doesContainArgon) [
|
|
log(doesContainArgon, 'your sentence does contain the word \''+lookFor+'\'!')
|
|
] else [
|
|
log(doesContainArgon, 'your sentence does not contain the word \''+lookFor+'\'!')
|
|
] |