I used this expression in assign activity
System.Text.RegularExpressions.Regex.Replace(row(“Address”).ToString,”[1]+“,”").ToString.Trim
If I insert this “^” into the expression “THOR” is getting deleted, Its fine But I created another excel sheet…There I gave “thor” at start in some cells and “THOR” at start in some cells…I want a single statement to delete both “thor” and “THOR” at starting.I know that removing “^” will delete the lower case but I want to delete both lower and upper ones with single Statement…It will be really appreciable if anyone suggests me some idea.
read the excel and get it datatable
For each row in that datatable
get the row(“Address”) in a string ex Add_String
Assign Add_String=Add_String.replace(“Thor”,“”)
like this you can specify for THOR,thor etc.
Hope this solves your issue. Plaese try and let me know if it works.
@hasib08 Thanks for the suggestion, I tried this expression now…I am not getting the expected output…I need “thor” and “THOR” to be deleted at the beginning but when I use this expression only “THOR” is getting deleted at the beginning…