Hi Everyone!

I'm trying to get X & Y data points from a Jagged 2D Array, based on the input of data (String) as a search parameter. As far as the searching goes, I know how to do that part. I can't figure out how to return the X & Y of the data point in 1 routine. I'd like to do it as a function something like this:

Code:
Label1.Text = GetXY(SearchString, X.ToString);
Label2.Text = GetXY(SearchString, Y.ToString);
Where Label1 would show the X value & Label2 would show the Y value.

So, How would I write the first part of the routine?

Thanks!

KKW