I have a string tag in the Response, that string looks like this
"|Search=name|codProd=ABC_73335610|CNAD_ENTRY=1551|UFO=pa|UFD=sa|natOp=111|
What I need is to extract a substring for instance “UFO” from pipe to pipe , final result will be like UFO=pa , then save it into a variable
Also not all string will have UFO so Need to be able to consider that.