A
Alexasasgasg
Guest
using System;
using System.Collections.Generic;
using System.Linq;
public class Program
{
public static void Main()
{
string text = "Hello>>>agsdg>>>hdfhdf>>>shsdhsd";
string[] words = text.Split(">>>");
Console.ReadLine();
}
}
When I try to run this code it tells me i need to split using only a char and it cannot split by a string.
I searched for the split function and a microsoft guide shows it can split by a string with the same syntax I used.
I think it is something on my end maybe region or different settings. I have tried to change the region and re install the visual studio however it does not help.
Continue reading...
using System.Collections.Generic;
using System.Linq;
public class Program
{
public static void Main()
{
string text = "Hello>>>agsdg>>>hdfhdf>>>shsdhsd";
string[] words = text.Split(">>>");
Console.ReadLine();
}
}
When I try to run this code it tells me i need to split using only a char and it cannot split by a string.
I searched for the split function and a microsoft guide shows it can split by a string with the same syntax I used.
I think it is something on my end maybe region or different settings. I have tried to change the region and re install the visual studio however it does not help.
Continue reading...