What is the previous syntax for this function?

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?

 Réponse acceptée

The strcat function has been around for a long time.
strcat("Hello", "World")
ans = "HelloWorld"

Plus de réponses (0)

Catégories

En savoir plus sur Characters and Strings dans Centre d'aide et File Exchange

Produits

Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by