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);

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments