Lasso Soft Inc. > Home

[decode_urlpath]

Linkdecode_urlpath
AuthorJason Huck
CategoryEncoding
Version8.x
Licensehttp://opensource.org/licenses/artistic-license.php
Posted03 Mar 2006
Updated22 Mar 2006
More by this author...

Description

Decodes a string encoded by [encode_urlpath].

Sample Usage

decode_urlpath($string);

Source Code

Click the "Download" button below to retrieve a copy of this tag, including the complete documentation and sample usage shown on this page. Place the downloaded ".inc" file in your LassoStartup folder, restart Lasso, and you can begin using this tag immediately.

define_tag(
	'urlpath',
	-namespace='decode_',
	-required='in',
	-priority='replace',
	-description='Decodes a string encoded by [encode_urlpath].'
);
	local('out') = #in;
	#out->replace('_',' ')&replace('\','%5c')&replace('.','.');
	#out = decode_url(#out);
	#out->replace('-!','/')&replace('`','\'');
	return(@#out);
/define_tag;

Related Tags

Comments

No comments

Please log in to comment

Subscribe to the LassoTalk mail list

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft