Im trying to generate product URL with product ID. I did a foreach loop and it works. But it puts the ID in @{}.
foreach ($ID in $id) {
$url = "https://MyUrl/" + $ID
$Path = $url
$Path
}
The output looks like this:
https://MyUrl/@{id=351}
https://MyUrl/@{id=348}
https://MyUrl/@{id=342}
https://MyUrl/@{id=293}
How can I delete @{} from the URL, or how can I generate a product URL with (if there are any other ideas).