Language GuideBuilt-in TypesStringMethodsfindOn this pagefindGet the index of the first occurrence of the substring. "hello".find("llo"); //2"hello".find("lloa"); //undefined Syntax find(substring) Returns The index of the substring as uint when found. Undefined when NOT found.