JensDeveloper
4 years agoContributor II
Get certain values of strings in array
Hi all,
I am trying to get the value between the ‘()’ of every record inside the array.
[
{ “betroffene IT Systeme”:[
“Ardoq·(431)”
“SnapLogic·(580)”
]
}
]
So that I get an array: ...
- 4 years ago
Hi,
You can use the below expression.
$[‘betroffene IT Systeme’].map(x => x.substring(x.indexOf(“(”)+1, x.indexOf(“)”)))