Page 1 of 1

URLEncoder. Querystring option.

Posted: Thu Aug 07, 2008 10:23 am
by Hroudtwolf
Hi,

My little wish is, to have an option for encoding querystrings with URLEncoder.

In example:

Code: Select all

Debug URLEncoder ( "Hello Fred, I've a little wish. #PB_Encoder_QueryString" )
; Hello+Fred,+I've+a+little+wish.+%23PB_Encoder_QueryString
Debug URLEncoder ( "Hello Fred, I've a little wish. #PB_Encoder_QueryString"  , #PB_Encoder_QueryString )
; Hello+Fred,+I've+a+little+wish.+%23PB_Encoder_QueryString
Would be more comfortable than...

Code: Select all

Debug ReplaceString ( URLEncoder ( "Hello Fred, I've a little wish. #PB_Encoder_QueryString" ) , "%20" , "+" )
Best regards

Wolf