Why this error showing!option strict on disallows late binding error

why this error is showing?after variable “split” option was not showing in intellisense. i gave it manually. i dont know whats the problem. please check guys

can you share the method how you are doing the split

in loanarray variable field section ,split option is not showing. its saying option strict on disallows late binding error

share what you have written in the right section of assign activity


but Split method was not showing in intellisense. i wrote it manually

what is the type of line variable ?

1 Like

i gave the type object instead of string. now it resolved after changing into string and changing the code from line.Split(":“c,StringSplitOptions.RemoveEmptyEntries) to line.Split({”:"c},StringSplitOptions.RemoveEmptyEntries)…

1 Like

if your issue is resolved could you please mark it as solution, to close this thread.

1 Like

but why sud i add {} in between bro?can i get the reason

No need to use those curly braces

i tried to remove them, but showing error bro

you can try this
strline.Split(New Char() {" "c}, StringSplitOptions.RemoveEmptyEntries)

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