例 次の例では、文字列から部分文字列を取得する方法を示します。 using namespace System; using namespace System::Collections; int main() { array<String^>^info = { "Name: Felica Walker", "Title: Mz.", "Age: 47", "Location: Paris", "Gender: F"}; int found = 0; Console::WriteLine("The initial values in the array are:"); for each (String^ s in info) Console::WriteLine(s); Console::WriteLine("\nWe want to retrieve only the key informa