strings operations, how long is string, changing specific strings
4 ビュー (過去 30 日間)
古いコメントを表示
I have a variable "F" where i have 6-7 charcters , now my questions are:
- 1 how i can cheack how long is this string?
- 2 now if it have 7 characters then i want to:
- for characters in position 1-3 if charcter=0 chacnge it into O , and for position 3-7 if charcter=O change it into 0,
- how can i do that?
0 件のコメント
採用された回答
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Characters and Strings についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!