MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   资料存档 (https://www.labfans.com/bbs/forumdisplay.php?f=72)
-   -   在Matlab中查找字符串中的特定字符 (https://www.labfans.com/bbs/showthread.php?t=22774)

poster 2019-12-10 16:49

在Matlab中查找字符串中的特定字符
 
假设我有一个字符串'[email protected]' 。我想将“ @”之前和之后的字符串存储为2个单独的字符串。在字符串中查找“ @”字符或其他字符的最简单方法是什么?


回答:
我改用Matlab的strtok和strrep。



[url=https://stackoverflow.com/questions/1425147]更多&回答...[/url]


所有时间均为北京时间。现在的时间是 23:27

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.