Split first space

Hey i need help. I want to split string “AA BB CC DD” to “AA” and “BB CC DD”.So i need to split only first space.How?

Hi @Majnuuk

Try out this syntax

output_string=Your_input_variable.Split(" ",c).First

Or else

You can use like this

Output_string_array = Your_input_variable.Split(" ",c)

Output_string_array(0)

@Majnuuk
Welcome to the forums

we can do following:
grafik
YourStringVar.Split(" ".ToCharArray,2)

1 Like

Thx, its working

@Majnuuk
Perfect. Once the final testing was sucessfully please mark the solving post as solution. So others can benefit from it. Thanks