Split string into string based on character type
17 views (last 30 days)
Show older comments
Hello,
I have variable data that looks like this: 1A2 and is formatted number+letter(s)+number. I'd like to split this string to mentioned 3 types. Both numbers can be 2-digits. How can I do this?
I tried strtok and split but with no success. Thank you.
0 Comments
Accepted Answer
More Answers (1)
See Also
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!