Graphics

 View Only

Finding the max value from split value in scripting

  • 1.  Finding the max value from split value in scripting

    Posted 02-09-2023 02:44

    Currently working on a line graph which I would need to find the highest value number from the split string data. It will then be use to set as the maximum height of the entire graph. Currently I can't find any scripting properties which enable me to extract such value from the API documentation. Even properties such as split, replace, left, and etc cannot be found in it.

    Current script:
    dim sortArray() as String = Split(Replace(data.Text, "-", ""), ",")

    Thank you in advance!



    ------------------------------
    Johnny Tan
    ------------------------------