Split string

studio
variable
string

#1

Hey!

Thanks a bunch!

What if i need to get the text “Normal” in this data table received in a email?

table

There are many data tables in the email, but I need to filter just “Type” and then get the word “Normal”.
Thanks a lot!

Edit:
In the body email there is a data table (2x7 for instance), and the word i want to get is “Normal”, located under “Type”.


@ClaytonM

Thank you so much!


#2

Hi @pal1910,
Use this code to get first value
strValue.ToString().split(" "c)(0)

Refer this post

Regards,
Arivu :slight_smile:


#3

Thanks a bunch!

What if i need to get the text “Normal” in this data table received in a email?

table

There are many data tables in the email, but I need to filter just “Type” and then get the word “Normal”.
Thanks a lot!


#5

Hi!

Please check this one before tagging someone:


#6

scrape the table into a datatable, then use for each item (datarow), and use something like If “*Normal *” Like datarow(“Type”).toString …?