str1 = 'I like MATLAB,'; % 建立字串變數str1. str2 = ' JavaScript, and C++! ... out = strcmp(str1, str2) %比較str1和str2字串是否相通 相同1 不相同0.
確定! 回上一頁