how I can know if a string is empty or not!?
Show older comments
please help me with a code ! thank you !
Accepted Answer
More Answers (1)
Weird Rando
on 15 May 2016
Edited: Weird Rando
on 15 May 2016
You can use the length()
a = '';
stringlen = length(a) % stringlen = 0
1 Comment
Imen Mani
on 15 May 2016
Categories
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!