在 C# 中找到字符串中的子字符串并使用單詞后跟搜索的句子來檢索它的正確方法是什么,例如在字符串中: string str = "On the screen the faint, old, robed figure of Mercer toiled upward, and all at once a rock sailed past him.";搜索子串: string find = "figure of";獲得所需的輸出: figure of Mercer
在字符串中查找子字符串,項目后跟搜索的句子
慕田峪7331174
2021-10-09 10:40:44