Replace comma with dot

Hey guys I have one column with data in (,) I want to replace , with (.) Please help

Hey @Kuldeep_Pandey

See the post:

Cheers

Steve

Sorry I think some misunderstanding
I want to remove one column data which have (,) with (.)
Column have many data like
4,2
5555,2
2728282,5
all i want in(.)

Hi @Kuldeep_Pandey

Use the “Invoke Method” activity to call the “Replace” method on the column you want to modify.
Configure the parameters: In the “Parameters” field, enter the following values:
a. “oldValue” = “,”
b. “newValue” = “.”
Save the data: Use the “Write Range” activity to write the modified data back to the source file.

Thanks!!

HI

Already solved here

Regards!

Hi @Kuldeep_Pandey ,

Use the following expression in invoke code by passing your data table as in/out argument:

dt.AsEnumerable.ToList.ForEach(Sub(row) row("ColumnName") = row.Field(Of String)("ColumnName").Replace(".", ","))

Regards,


Error Coming

@Kuldeep_Pandey

Please find the below syntax to replace with “.”

Input =Text,S

Ex : Input.ToString.replace(“,”,“.”)

Output : text.S

Thanks & regards
Varun