MATLAB - String Handling
What is the output of the following MATLAB code?
str = 'apple banana apple'; newStr = strrep(str, 'apple', 'orange'); disp(newStr);
str = 'apple banana apple'; newStr = strrep(str, 'apple', 'orange'); disp(newStr);
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions