How can I split a word to parts?
Show older comments
Hi all, Well I want to split a word into parts for example I have sentence a='Hello World', and I want to b='llo', How can I do such thing?
4 Comments
Azzi Abdelmalek
on 20 Jan 2015
Your question is not enough clear
Giorgi
on 20 Jan 2015
Where do you want to split the words: at space characters, after the first n characters, the n final characters, after any doubled characters, two digits before any vowel character, or one of a million other rules that could explain your example output string?
Your description is inadequate.
Giorgi
on 20 Jan 2015
Accepted Answer
More Answers (1)
Azzi Abdelmalek
on 20 Jan 2015
b='llo'
Categories
Find more on Cell Arrays 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!