Processing Ajax...

Title

Message

Confirm

Confirm

Confirm

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure?

User Image
hubert5
1 discussion post
Hello, i am new here and have this program since today.

i saw the exampe macro of Replace Spaces with Hypens and have try one makro to replace more as one text but i get only garbage

i wish one makro that can replace %20 to " " (space), %5E to ^, %0A to \n,...

what i need is a example makro to replace much more strings as one

example makro is

Code

using System;

public static class ClipboardFusionHelper
{
    public static string ProcessText(string text)
    {
        return text.Replace(" ", "-");
    }
}
Aug 13, 2012 (modified Aug 13, 2012)  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Sorry for the delayed response! It looks like you're trying to decode URLs? If so, you can use this macro:

Code

using System;
using System.Web;

public static class ClipboardFusionHelper
{
    public static string ProcessText(string text)
    {
        return HttpUtility.UrlDecode(text);
    }
}

Hope that helps!
Aug 20, 2012 (modified Aug 20, 2012)  • #2
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)