Hello there, I want to split a String, the string is the following:
ExtractedText = “82 Habitaciones privadas”
totalCuartos = ExtractedText.Split(" "c).First
I know that totalCuartos gives only the number. But when debugging it throws an error, because it doesn’t split the space between the number and the string, just the last one. I tried this in the immediate panel
I copied, pasted the symbol at position 2, but now doesn’t split last space
As you can see, this doesn’t make any sense, unless the spaces are different, but I don’t know such thing. How could I split all the string?
Thanks in advance!!