So basically I couldn't get the correct result with my query parameters. For example we have a query parameter that looks like this:
?encryptedId=zxcvbnm?:112233
The returned result would just be zxcvbnm, the second question mark and all the succeeding characters to it are all omitted.
I've already tried this:
this.businessId = this.router.parseUrl(this.router.url).queryParams["bid"];
and this:
this.activatedRoute.queryParams.subscribe((queryParams: Params) => {
this.businessId = queryParams['id'];
});
but both codes return the same result. I want to capture everything. Please help. Thanks!