Extract value from a string


#1

Hi,

I have a string “HC:99284 $560.00 – - $501.66 $58.34 – $58.34”,
I need to extract the highlighted value from the string.
Please help!


#2

@Pooja1
You can slice the initial string, based on “–”, returning an array of strings.

Following this, you can acquire the final position in the array (array.length - 1).

Main.xaml (6.5 KB)


#3

Hey thanks! it works!! :slight_smile: