Typescript Get Url Parameters Javascript Format Strings In C