Wait includes is case sensitive

Made it convert to lowercase before comparing
This commit is contained in:
Ken 2017-08-11 01:27:31 +12:00 committed by GitHub
parent 3b601e8595
commit 5af99566fa

View file

@ -109,7 +109,7 @@ class Scratch3OperatorsBlocks {
} }
contains (args) { contains (args) {
return Cast.toString(args.STRING1).includes(Cast.toString(args.STRING2)); return Cast.toString(args.STRING1).toLowerCase().includes(Cast.toString(args.STRING2).toLowerCase());
} }
mod (args) { mod (args) {