Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はそれを等しい4つの部分に分割し、それらの部分で繰り返される特定の単語を検索してそれらを表示したいテキストを持っています
アイデアはc#vs2008および.txtファイルで機能しています
まあ、string.length /4 を取得してから部分文字列を取得することで、4 つの等しい部分を実行できます。次に、各文字列内で .find を実行できます。
または、正規表現を見ることもできます。