Exam4Training

Which two statements results in the word ‘Sales’?

CORRECT TEXT

Refer to the string below.

Const str=’Salesforce’;

Which two statements results in the word ‘Sales’?

Answer: Str.substring(0,5);

Str.substr(0,5);

Exit mobile version