how to combine strings

2 ビュー (過去 30 日間)
Elie Elias
Elie Elias 2018 年 10 月 15 日
編集済み: madhan ravi 2018 年 10 月 15 日
Hi I want to combine those strings into a single string and without the space of the last string. Can anyone tell me how please? Thanks
  1 件のコメント
Bruno Luong
Bruno Luong 2018 年 10 月 15 日
Can't you post the strings in a text form rather than this screen capture that no one can possibly see?

サインインしてコメントする。

回答 (1 件)

madhan ravi
madhan ravi 2018 年 10 月 15 日
編集済み: madhan ravi 2018 年 10 月 15 日
An example: (since you didn’t post the code but this syntax strcat() should work for your case )
s1 = {'abcde'};
s2 = {'jkl'};
s = strcat(s1,s2) %result without space

カテゴリ

Help Center および File ExchangeCharacters and Strings についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by