how can I divide a string like this after the money symbol and before space
Support is requested for tickets (suburban and taxis) in the state of Chiapas for an amount
of $ 600.00. for each auditor
the exit would be this
600
how can I divide a string like this after the money symbol and before space
Support is requested for tickets (suburban and taxis) in the state of Chiapas for an amount
of $ 600.00. for each auditor
the exit would be this
600
first split by "$ " β store its 1st index in variable
then split by β.β β store its 0th index in variable
hereβs sample for reference
Hi,
If you want to extract only the value (like 600), the following expression might help you.
System.Text.RegularExpressions.Regex.Match(yourStrData,"(?<=\$\s*)\d+").Value
Regards,
Hi,
String variable str1 = Support is requested for tickets (suburban and taxis) in the state of Chiapas for an amount of $ 600.00. for each auditor
Use
Assign activity
Str1 = str1.split(β$β.tochararray)(1).trim.split(β.β.Tochararray)(0)
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.