Solved

Given the Character String 'I Am a Yellow Dog" in Variable

Question 52

Multiple Choice

Given the character string 'I am a yellow dog" in variable c_str,what would be the expected value of the c_substr variable after the following commands are executed: yellow_pos := instr(c_str,'yellow') ;
C_substr := substr(c_str,1,yellow_pos) ;


A) 'I'
B) 'I am a y'
C) 'I am a'
D) 'I am a '

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions