Sign in to follow this  
Followers 0
_Kurt

How to determine _StringBetween highest array

4 posts in this topic

#1 ·  Posted (edited)

I would like to find out how many arrays there are in a _StringBetween function.

Example:

#include <String.au3>

$test = "/1/ /2/"
$str3 = _StringBetween($test, "/", "/")

So I'm trying to find the highest array, in this case it would be $str3[1] (since there are two, and arrays go 0,1,2,3,etc)

Thanks for your help,

Kurt

Edited by _Kurt

Awaiting Diablo III..

Share this post


Link to post
Share on other sites



Thanks for your help, xcal. I attempt try to resolve my problem with that code.

Kurt


Awaiting Diablo III..

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

Np, I edited. I forgot the - 1 for Ubound(), so it properly returns a 0 based array total.

edit - and this post I edited because I have spelling issues. :P

Edited by xcal

Share this post


Link to post
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
Sign in to follow this  
Followers 0