|
-
Jul 19th, 2012, 05:30 AM
#1
Thread Starter
Lively Member
If else statement help
hello
i want to create a If , else loop ,
like
Code:
If str1 starts with char"a" then ' like if str1 starts with char "a" then or else
'' code
else
'' code
end if
plzz can anyone help me for this??
-
Jul 19th, 2012, 05:37 AM
#2
Addicted Member
Re: If else statement help
try this
if str1.StartsWith("a") then
code
else
code
end if
-
Jul 19th, 2012, 03:53 PM
#3
Re: If else statement help
 Originally Posted by Binarybot
hello
i want to create a If , else loop ,
like
Code:
If str1 starts with char"a" then ' like if str1 starts with char "a" then or else
'' code
else
'' code
end if
plzz can anyone help me for this??
 Originally Posted by ashley.s
try this
if str1.StartsWith("a") then
code
else
code
end if
I'm sorry, I just can't help but post this
-
Jul 19th, 2012, 11:08 PM
#4
Addicted Member
Re: If else statement help
r u being sarcastic or something?
-
Jul 23rd, 2012, 05:10 PM
#5
Re: If else statement help
I think it was pointing out that the OP could just remove the spaces and it would work .
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|