11. The ____ method returns the position number in a string : 1321021.
11. The ____ method returns the position number in a string of the first instance of the first character in the pattern argument.
a.charAt(pattern)b.indexOf(pattern)
c.slice(pattern)d.search(pattern)
12. The ____ method of the String class returns the position number in a string of the first character in the argument.
a.search()b.charAt()
c.indexOf()d.substring()
13. The JavaScript String class includes the ____ method, which creates a new string by combining strings that are passed as arguments.
a.strcpy()b.strcat()
c.strpst()d.concat()
14. The ____ object contains methods and properties for working with regular expressions in JavaScript.
a.Expressionb.RegExp
c.StrExpd.StringExp
15. Regular expression patterns consist of literal characters and ____.
a.metacharactersb.metadata
c.metabytesd.supercharacters
16. A pattern that matches the beginning or end of a line is called a(n) ____.
a.tailb.metacharacter
c.metastringd.anchor
17. Characters contained in a set of parentheses within a regular expression are referred to as a subexpression or ____.
a.subpatternb.substring
c.subruled.subset
18. You use ____ classes in regular expressions to treat multiple characters as a single item.
a.expressionb.character
c.patternd.metarule
19. To allow a string to contain an alternate set of substrings, you separate the strings in a regular expression pattern with the ____ metacharacter.
a.$b./
c.|d.&
20. To manipulate arrays in your scripts, you use the methods and length property of the ____ class.
a.Arrayb.String
c.Matrixd.Vector
11. The ____ method returns the position number in a string : 1321021