What is the major syntax for split method

2 Likes

Hi @Swagasmini_Jena
Create C as char data type

Thanks
Ashwin S

you mean a variable?

Hi @Swagasmini_Jena
Yes

Thanks
Ashwin S

how to char data type can u show me the step

Hi @Swagasmini_Jena

Go to Variable pane create a variable as c and type go for browse for typeas char you will get System.char click ok and check it

Thanks
Ashwin S

1 Like

Hi @Swagasmini_Jena

‘c’ means literal data type of System.Char. Without ‘c’ it will be considered as a string.

i understood but not getting the splitting of string of a particulr part

1 Like

What is the issue?

1 Like

split the string “status”

I want to split the 4th part of the string “status”

Can i see the whole value of the status ? @Swagasmini_Jena

cheers :smiley:

Happy learning :smiley:

2 Likes


i want to get the $th value of string

2 Likes

is that 2 Fifth value ? @Swagasmini_Jena

cheers :smiley:

Happy learning :smiley:

1 Like

how can i split a value

parts(5).ToString and you will get the value of the fifth element index starts at zero
@Swagasmini_Jena

cheers :smiley:

Happylearning :smiley:

2 Likes


getting like this

1 Like

Dont assign the index 4 in the assign value. See this.

@Swagasmini_Jena

cheers :smiley:

Happy learning :smiley:

3 Likes

@Swagasmini_Jena I prefer to use the Split Syntax in this way:

Split(strVar,“Separator”)

Correct me if this is not the Best method :sweat_smile:

@Swagasmini_Jena

Which word do you want to get it from that status string?