extract integers from random strings
이전 댓글 표시
Hi,
I have many strings composed by letters and numbers. Every string has this format 'randomword.integer'. I'd like to ignore the first part (word) and get the second (number). The first part keep changing so i can't use:
a= 'randomword.integer'
int=sscanf(a,'randomword.%d')
Any help?
Thanks in advance
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Characters and Strings에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!