QuestionQ190Verified/Using Single-Row Functions to Customize OutputCopy linkReport a problemAsk AstroTutorSave questionWhich two statements convert the string Hello World to ello world?Choose twoASELECT INITCAP(TRIM(‘H’ FROM ‘Hello World’)) FROM DUAL;BSELECT SUBSTR(‘Hello World’, 2) FROM DUAL;CSELECT LOWER(SUBSTR(‘Hello World’, 2, 1)) FROM DUAL;DSELECT LOWER(TRIM(‘H’ FROM ‘Hello World’)) FROM DUAL;ESELECT LOWER(SUBSTR(‘Hello World’, 2)) FROM DUAL;Show AnswerAnswerExplanationTRIM('H' FROM 'Hello World') removes the leading H, and LOWER converts the remaining characters to lowercase. SUBSTR('Hello World', 2) returns the string beginning with e, and applying LOWER produces ello world.Show comments1Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion