Home Cooker Classes Others Rice CookerGX
Classes  >  encoder  >  UrlDecode(string)
encoder class : UrlDecode(string) method

Description

Converts a URL-decode string.

Syntax

encoderInstance.UrlDecode(string encodedString)

Arguments

ClassNameDescription
stringencodedStringA URL-encode string.

Return value

ClassDescription
stringA URL-decode string.

Sample code

//anyEncoder is an instance of the encoder type.

//encoded is a string that was encoded by URL-encode.

string decoded = anyEncoder.UrlDecode(encoded);

Notes

It's a wrapper of the System.Web.HttpUtility.UrlDecode(String).

This method will decode using UTF-8.

Links for reference

Copyright © Rice All rights reserved.