CurrentRow(“primary phn/ alternate phn”).ToString.Split({“/”,“;” “&”, “/”, “,”},StringSplitOptions.None)(0) getting errror as ‘}’ as expected and also getting red line error in the this expression kindly help
You are missing , after “;”
Can you once try the below expression
CurrentRow(“primary phn/ alternate phn”).ToString.Split({“/”,“;”, “&”, “/”, “,”},StringSplitOptions.None)(0)
1 Like
CurrentRow("primary phn/ alternate phn").ToString.Split(New String() {"/", ";", "&", ",", "/"}, StringSplitOptions.None)(0)
Hi @Ajay_rocks
You haven’t separated the symbols which you want to split with commas properly, try the below one,
currentRow("primary phn/ alternate phn").ToString.Split({"/",";", "&", "/", ","},StringSplitOptions.None)(0)
If the above one is not working after splitting with proper commas, check the below one,
Input.Split(New String() {"/", ";", "&", "/" ,","}, StringSplitOptions.None)(0)
Hope it helps!!
Hi @Ajay_rocks
Try below expression
CurrentRow(“primary phn/ alternate phn”).ToString.Split(New String() {“/”, “;”, “&”, “,”, “/”}, StringSplitOptions.None)(0)
Hope it will helps you ![]()
Cheers!!