String Convert To Byte

String bir değişken bileşeni , byte tipine dönüştürmek için ne yapmam gerekiyor ?

What do I need to do to convert a string variable component to a byte type ?

Hi @Huseyin_Kizil ,

Give this a try:

System.Text.Encoding.Default.GetBytes(StringVariable)

2 Likes

Thank’s Vishal ,

My problem is solved.

1 Like

Hi Vishal ;

I want to ask you one more question, can you answer please?

What can I do to deduplicate cells that are the same in a particular column in the data table?

For example ; A column of 10 rows reads 5 rows A and 5 rows B . I want to deduplicate 1 A and 1 B and write them into a new data table.

Hi @Huseyin_Kizil ,

It would be great if you can open a separate thread for this question along with your expected input and output. :slight_smile:

To remove duplicates in your data table you can use the below expression in assign:

dt= dt.AsEnumerable().GroupBy(Function(i) i.Field(Of String) (“Columnwithduplicatevalues”)).Select(Function(g) g.First).CopyToDataTable

Hi @vishal.kp

Thank you very much indeed, both my problems are solved .

Could you share your instagram, linkedln or any social media address with me so that I can reach you more easily and ask more questions about UiPath?

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.