1 2 3 4 5 6 7
//Chapter 02:Basic Structures: Sets, Functions, Sequences, Sums and Matrices clc; clear; str=['abcd'] disp(length(str),'Length of the string is:')