Split Char.IsWhiteSpace

Hi everyone,

I have a issue:
My row in table have 2 number:
10
16

First, I want to split using code: vb.net
If Char.IsWhiteSpace(“my text in row”) and running OK.

And I thing I can using Split:
In For each:
item(2).toString.Split({“XXX”}, StringSplitOptions.None).
But in XXX
I do not know how to be able to perform same ’ If Char.IsWhiteSpace(“my text in row”) '!

Thank!

HI @longnt23,
As i understand that the XXX is whitespace. Based on you have to split the string. right?

Regards
Balamurugan

1 Like

Hey @longnt23

Check it out this thread :slight_smile: of mine - Regex expression - #2 by aksh1yadav

Regards…!!
Aksh

1 Like

Thank @balupad14!

Thank @aksh1yadav!

I using:
item(2).ToString.Split.Where(Function(x) x <> String.Empty)