Jump to content

ItemCount


Recommended Posts

The list is generated just by copying a list to the clipboard....and assging a variable to it. Then I need to count the number of items in the list. I could count the number of delimiters.......but I dont know how to do that either....

StringSplit($list,@LF)
Link to comment
Share on other sites

Thank you much... this was in help but I couldnt find it til you pointed the way....

"StringSplit ( "string", "delimiters" [, flag ] )

Returns an array, the first element ($array[0]) contains the number of strings returned, the remaining elements ($array[1], $array[2], etc.) contain the delimited strings.

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...