URL2Text + Text2URL

URL2Text to convert a URL into string
Text2URL will converts a text with special chars into URL friendly string
ReplaceCriticalOnly = 1 means we do not want to do all chars, just the critical ones
Critical chars: characters that are needed to be replaced because otherwise might break the URL [space] ! " # ' / \
ReplaceCriticalOnly = 0 means we do want to do all special chars, except letters and numeric
Special chars: characters that we do not need to convert, will not break the URL
all Critical in addition to: $ [ ] ^ % & ( ) * + , - . : ; < = > ? @ _ { | } ~
Please be careful when converting ? & = most parameters are past using these urls, and some sites break when you convert them

CodeFunctionName What is this?

Public

Tested

Original Work

Access is limited.

Login here using your Linkedin account. to see or download code.

No registration, not another password to remember, login using your Linkedin account and have access to all public codes in Boldcodes.com

Linkedin Login

sURL
sText, ReplaceCriticalOnly

Views 4,791

Downloads 1,499

CodeID
DB ID

ANmarAmdeen
701
Attachments
Revisions

v1.0

Sunday
April
15
2018