Jump to content
Sign in to follow this  
_Kurt

How to determine _StringBetween highest array

Recommended Posts

_Kurt

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
_Kurt

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
xcal

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.