hello
i want to create a If , else loop ,
like
plzz can anyone help me for this??Code:If str1 starts with char"a" then ' like if str1 starts with char "a" then or else
'' code
else
'' code
end if
Printable View
hello
i want to create a If , else loop ,
like
plzz can anyone help me for this??Code:If str1 starts with char"a" then ' like if str1 starts with char "a" then or else
'' code
else
'' code
end if
try this
if str1.StartsWith("a") then
code
else
code
end if
I'm sorry, I just can't help but post this
Attachment 89678
r u being sarcastic or something?
I think it was pointing out that the OP could just remove the spaces and it would work :).