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.
この単純なコードで、文字列から部分文字列を削除しようとしています。しかし、C#はそれを削除していません:
stringCmd = "Haha WoWI am in love!" stringCmd.Remove(stringCmd.IndexOf("WoW"), 5);
削除すると、 「ははは恋をしている!」になるはずです。