{"ScriptPreparationCode":"var str = \u0022AB CD EF GH IJ KL\u0022;\r\nvar needle = \u0022CD\u0022;\r\nvar regex = /\\bCD\\b/;\r\nvar escapeRegEx = (string) =\u003E string.replace(/[.*\u002B?^${}()|[\\]\\\\]/g, \u0027\\\\$\u0026\u0027)","TestCases":[{"Name":"str.split.includes","Code":"str.split(\u0027 \u0027).includes(needle);","IsDeferred":false},{"Name":"regex - create inline","Code":"str.match(escapeRegEx(needle))","IsDeferred":false},{"Name":"regex - create first","Code":"str.match(regex)","IsDeferred":false}]}