Clear Filters
Clear Filters

What is the previous syntax for this function?

2 views (last 30 days)
I can combine strings using something like
str = append("Hello","world")
But I have access only to Matlab 2018a. The append function wasn't introduced until r2019a. What would be the equivalent syntax in this previous version?

Accepted Answer

Les Beckham
Les Beckham on 19 Apr 2023
The strcat function has been around for a long time.
strcat("Hello", "World")
ans = "HelloWorld"

More Answers (0)


Find more on Characters and Strings in Help Center and File Exchange




Community Treasure Hunt

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

Start Hunting!