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일

0 개 추천

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

카테고리

도움말 센터File Exchange에서 Characters and Strings에 대해 자세히 알아보기

질문:

2018년 10월 15일

편집:

2018년 10월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by