In AQA pseudo-code, string indexing starts at 0. The function SUBSTRING(startPosition,length,string)\text{SUBSTRING}(\text{startPosition}, \text{length}, \text{string})SUBSTRING(startPosition,length,string) is used to extract a portion of a string. Which statement correctly extracts the first 5 characters from a string variable named securityKey\text{securityKey}securityKey and assigns the result to a variable named keyCode\text{keyCode}keyCode?
securityKey←SUBSTRING(0,5,keyCode)\text{securityKey} \leftarrow \text{SUBSTRING}(0, 5, \text{keyCode})securityKey←SUBSTRING(0,5,keyCode)
keyCode←SUBSTRING(1,5,securityKey)\text{keyCode} \leftarrow \text{SUBSTRING}(1, 5, \text{securityKey})keyCode←SUBSTRING(1,5,securityKey)
keyCode←SUBSTRING(0,5,securityKey)\text{keyCode} \leftarrow \text{SUBSTRING}(0, 5, \text{securityKey})keyCode←SUBSTRING(0,5,securityKey)
keyCode←SUBSTRING(securityKey,0,5)\text{keyCode} \leftarrow \text{SUBSTRING}(\text{securityKey}, 0, 5)keyCode←SUBSTRING(securityKey,0,5)