Search code examples
arraysstringlabview

How to extract digits in an array


I have this array.

enter image description here

I would like to remove units like uF, V and change the array into like this.

enter image description here

Could anyone please explain how can I do this?


Solution

  • this is a simple solution which you can use to get first number of your strings in LabVIEW. What I am doing here is taking the given array in for loop, search for first number with match regular expression and then outputting these numbers in second array. Labview example