Jump to content

Using True


Particle
 Share

Recommended Posts

Is this possible? If not, then how can I make this happen...?

If StringSplit($Array[$i],",") = True Then
    $tmp = StringSplit($Array[$i],",")
EndIf

Do you mean this by the code "If I can do this stringsplit then, do the stringsplit" If thats the case then use this.

$tmp = StringSplit($Array[$i],",")
If @error Then
Msgbox(0,"","Cant do stringsplit")
Else 
Msgbox(0,"","Success")
EndIf

If it cant do it then it will set @error so if that happens it cant be done.

Link to comment
Share on other sites

Make what happen. Please elaborate.

How would I make the program detect if there is a string split in the line from a file and conduct what it needs to do if it's true, otherwise skip the process if there is no string splitting needed.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...