strings operations, how long is string, changing specific strings
1 次查看(过去 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!