Replacing space in GO URL with %20

Hi,
I have created a GO URL and passing the branch name to the target report. The target report has "Is Prompted" filter for the Branch.
The branch names has spaces between them. eg: "AAA - BBB" like this. To replace the space, i have used the following: REPLACE("EMPTrack".BRANCH,' ','%20') it is also encoded as "AAA%20-%20BBB"
But when the request is run and the Branch name is navigated to the target report, the space in the branch name is replaced with "," instead of space itself.
Kindly help me.
Regards,
Bhuvan R

Hi ,
Try to use '+' sign.

Similar Messages

  • Replace spaces in CFFILE upload with - ( part II )

    I had it working, I know I did...
    #rereplace was doing just what I needed but for some reason
    it wont work now,
    and I am going insane.
    Is there another way to replace spaces in a file name during
    the course of a CFFILE upload?
    I want to replace any spaces in a file name with a hyphen,
    directly after uploading, before anything else is done
    ( or during file upload if possible).
    Michael Evangelista
    Evangelista Design / Evangelista Consulting, inc.
    www.evangelista-web.com
    Custom Small Business Website Solutions

    THANK YOU DL.! perfect!
    Michael Evangelista
    Evangelista Design / Evangelista Consulting, inc.
    www.evangelista-web.com
    Custom Small Business Website Solutions
    "dlashier" <[email protected]> wrote in
    message news:e8fijc$oi9$[email protected]..
    > <cfset srawname =
    REReplace(rawname,"[[:space:]]","","ALL")>
    >
    > will strip them, obvious change to replace with dash.
    >
    > - DL

  • How to escape spaces in a URL with HyperlinkEvent.getDescription()

    Hi,
    I'm trying to open a file whose URL contains spaces, this way:
    if (ev.getEventType() == HyperlinkEvent.EventType.ACTIVATED)
    String urlStr = ev.getDescription();
    BrowserLauncher.openURL(urlStr);
    My urlStr contains the value:
    "file:/C:/Program Files/My Software/Readme.htm"
    and I want to convert it to the correct url format:
    "file:/C:/Program%20Files/My%20Software/Readme.htm".
    I found a usage note for File's toURL() API, that it should be called using toURI() first which automatically escapes characters that are illegal in URLs, anything similar for HyperlinkEvent's getDescription() (or getURL())?
    TIA
    - Vidya.

    Hi,
    I'd tried this earlier, but this also escapes the '/' in the path, resulting into a URL of this form:
    �file%3A%2FC%3A%2FProgram+Files%2FMy+Software%2FReadme.htm�
    This doesn't work, IE is not able to open the link in the above format.
    Thanks,
    Vidya.

  • Replacing spaces with dashes

    Photoshop CS4 is replacing spaces in the filenames with dashes. How do I make it stop doing that?

    in save for web? look at the options. probably set to unix file systems. you know that file names on the web (if that's your intended use) may not contain spaces, rigth?

  • Replacing space with some char in report display

    dear friends
    hw can i replacs space in report display with char .
    there is disply like
                     site 1    site2   site3
    matnr1           space      10        space
    matnr 2            2        space     space
    site in x -axis  ,matnr in -y-axis.
    i want to replace this space  by some char like nd or ns  etc
    can any one give solution....
    regards
    veera

    hi this my condtion .....
    if the first condtion satisfed i have to replace by ND
    which is now mentioning as space.if send condtion satisifed  having 10(na) in display
    loop at it_final1.
                        read table it_final2 into wa_final2 WITH KEY matnr = it_final1-matnr.
                               IT_RESULT-matnr = IT_final1-matnr.
                               IT_RESULT-WERKS = IT_final1-vstel.
                        if it_final1-LFimg = wa_final2-vsolm.
                             it_result-LFimg = 'nd'.
                            ELSEIF IT_FINAL1-LFIMG < WA_FINAL2-VSOLM.
                                 it_result-LFIMG = WA_FINAL2-VSOLM - IT_FINAL1-LFIMG.
                                 ELSEIF WA_FINAL2 IS NOT INITIAL.
                        IT_RESULT-lfimg = IT_final1-lfimg.
                        else.
                        IT_RESULT-lfimg = IT_final1-lfimg.
                                     ENDIF.
                        COLLECT it_result.
        ENDLOOP.

  • Filename: Replace spaces with underscores

    Greetings,
    I have searched the forum and online and have not found an
    answer.
    So posting here for assistance.
    What is the proper syntax for replacing spaces in file names
    with under
    scores prior to cffile upload? -or- what is the best method
    to accomplish
    this process?
    Example:
    document name.doc >> document_name.doc
    Thanks
    Leonard

    you can't change the filename before the file has been
    uploaded to your
    server.
    upload a file using cffile.
    #cffile.serverfile# variable will contain the name with which
    the file
    has been saved on your server.
    check if the name contains any spaces using find() cf
    function.
    if it does, use cffile action="copy" to copy the file as a
    file with no
    spaces in the name (use replace() cf function to replace
    spaces with
    whatever you want).
    [you may want to make sure prior to copying the file that
    there is not
    already a file with same name (with no spaces) in that
    folder, otherwise
    the copy action will overwrite existing file]
    delete original file.
    details of all the functions are in the CFML Reference. if
    you do not
    have one - download free from adobe.com
    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com/

  • URLs with spaces

    I know that's a contradiction in terms but here is my problem. My database contains large numbers of 'URLs' with spaces in them reflecting where the corresponding files actually are in the file system. In the longer term I can get them converted to use %20 but in the meantime I have the problem that h:outputLink translates the spaces into +. I'm just wondering if there's something in JSF that will turn them into %20 for me? ... other than fn:replace() which I guess is not a bad alternative ...
    Thanks in advance.

    SharePoint is a Document Management system which is designed to be user-friendly. Naming all documents in your site farm with no spaces makes the document titles difficult to read for the end users. I agree that, programatically, no spaces is good, but unfortunately,
    systems are used by human beings. So even though your suggestion has been marked as an answer, it's not really a solution is it?
    The solution I came up with that solved my instance of this problem was to add a text column to the List I was working with, then put some JavaScript in the NewForm.aspx file that copies the file name into the text file and the applies an "encodeURI" to
    convert the word spaces into %20 ...
    So when I create a new item in my list, the JavaScript takes the file name, converts the spaces to %20, then copies the string into the text field in the list. When I build the WorkFlow Email, instead of concating the file name into a URL, I use the text
    field that pulls out (for example) "my%20file" and adds the pre-amble (http://myserver/path/) and the suffix (.pdf) and I have a working URL ...
    The full solution is posted at
    my blog ...

  • Reading Contents of URL with Spaces in its Path (+other odd characters)

    Hi, I am looking for a way to get the contents of a webpage that has a pathname with odd characters in it. Here is my "contents reader":
        public static String getURLContents(URL u){
            try {
                Scanner scan = new Scanner((InputStream)u.getContent());
                String output = "";
                while (scan.hasNextLine()) {
                    output += scan.nextLine()+"\n";
                return output;
            } catch (Exception ex) {
                System.out.println(ex);
                return null;
        }I have here selected exception output from two tests on the same URL, which has spaces. First, nicely formatted spaces (" "->%20)
    java.io.FileNotFoundException: http://www.publichealthalert.org/articles/tinagarcia/jemsek%20part%201.htm
    and Secondly, raw spaces:
    java.io.IOException: Server returned HTTP response code: 400 for URL: http://www.publichealthalert.org/articles/tinagarcia/jemsek part 1.htm
    The second example is obvious - there's spaces, and that's not the right way of doing things. But what's going on in the first example??
    Thank you kindly,
    K
    Edited by: nixxlmai on Jun 8, 2009 11:56 AM

    nixxlmai wrote:
    java.io.FileNotFoundException: http://www.publichealthalert.org/articles/tinagarcia/jemsek%20part%201.htm
    But what's going on in the first example??Do you insinuate that it works when there aren't any spaces in the URL? Have you actually tested an URL without any spaces?
    This exception merely means that the URL itsn't reachable on the given domain. It's actually a 404 error.

  • Replacing space with special char in reporting

    I have created a calculatd Keyfigure where if the consition given in the calculated KF satisfies then it displays 1 otherwise space ,now mu user wants space to be replaced by some special charcter
    Example
    My ckf is like this overallscore >= 90 & Iam applying count on this
    Vendor   CKF
    X              1
    Y
    Z                1
    As vendor y is not satsifying the condition its showing with space now I want to replace space with some special char how is this possible

    Hi Priya,
    You can try this: Instead of space, fill this with a 0. Then in the query properties, set the Show Zero As and give your special char, like may be *. But this will be okay if you do not have other zeros in the report...else you may need to do some VB coding.
    Hope this helps...

  • Layers to files: replace spaces with underscores

    How can I update the script to replace spaces with underscores on export? I assume I need to add a line somehwere between 183-195 but I don't know what it needs to be. Thanks in advance.

    Where did you get the Layers to files script. Photoshop versions ship with a "Export Layers To Files.jsx" CS6 lines 183-195 look like this I see nothing about filename
      var layerSetsCount = app.documents[docName].layerSets.length;
             if ((layerCount <= 1)&&(layerSetsCount <= 0)) {
                if ( DialogModes.NO != app.playbackDisplayDialogs ) {
                    alert( strAlertNeedMultipleLayers );
                            return 'cancel'; // quit, returning 'cancel' (dont localize) makes the actions palette not record our script
            } else {
                var rememberMaximize;
                var needMaximize = exportInfo.psdMaxComp ? QueryStateType.ALWAYS : QueryStateType.NEVER;
                if ( exportInfo.fileType == psdIndex && app.preferences.maximizeCompatibility != needMaximize ) {
                    rememberMaximize = app.preferences.maximizeCompatibility;

  • Replace spaces with a + sign

    Hi,
    In on of my columns I have a text... I want to replace spaces with a plus (+) sign... something linke this
    select
    text_field,
    Function_replace(text_field, " ", "+") new_field
    from
    table_A

    It's almost that:
    SQL> with table_a as (
      2  select 'abc dd   efg ' text_field from dual)
      3  -- end of sample data
      4  select text_field, replace(text_field, ' ', '+') new_field
      5    from table_a;
    TEXT_FIELD    NEW_FIELD
    abc dd   efg  abc+dd+++efg+
    SQL> edit:
    If you want to replace any number of consecutive spaces for a single + sign, then:
    SQL> with table_a as (
      2  select 'abc dd   efg    h' text_field from dual)
      3  -- end of sample data
      4  select text_field,
      5         regexp_replace(text_field, ' +', '+') new_field
      6    from table_a;
    TEXT_FIELD        NEW_FIELD
    abc dd   efg    h abc+dd+efg+h
    SQL> Edited by: fsitja on Mar 31, 2010 12:27 AM

  • Help Needed - replacing space with non-breaking space on the fly

    Hi,
    I have a text field I'm trying to fiddle the input on. Basically I want to replace all spaces (ascii code 32) with non-breaking spaces (ascii code 160) as they are typed.
    It seemed as though a KeyListener was the way to go, and I've successfully detected whenever a space is sent. I can consume() that KeyEvent, or setKeyChar to change it to another key. But I cannot see how to change it to a non-keyboard character.
    Any suggestions?

    i think you can do smt likeDocument doc = mySwingTextComponent.getDocument();
    doc.setDocumentFilter(new MyDocumentFilter());
    class MyDocumentFilter extends DocumentFilter {
       public void remove(DocumentFilter.FilterBypass fb, int offset, int length) throws BadLocationException {
          fb.remove(offset,length);
       public void insertString(DocumentFilter.FilterBypass fb, int offset, String string, AttributeSet attr) throws BadLocationException {
          replace(fb,offset,0,string,attr);
       public void replace(DocumentFilter.FilterBypass fb, int offset, int length, String text, AttributeSet attrs) throws BadLocationException {
          text.replaceAll("SPACE","NB WHITE SPACE");
    }asjf
    http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/text/DocumentFilter.html

  • Syncing hebrew notes with icloud distorts them by replacing spaces with exclamation marks. how do i fix this?

    syncing hebrew notes with icloud distorts them by replacing spaces with exclamation marks. how do i fix this?

    I'm syncing my iPhone 5 and my iCloud account. I open the account on my PC with a Google Chrome browser.
    iPhone:
    The same note on iCloud:
    So.. Any ideas?

  • My location bar autocompletes, replacing the already-typed text with the first few letters of the "switch to tab" URL; is there any way to change this?

    If I have a mozilla.com window open and I try to type "mouse" to automatically search through my bookmarks and history for something on about mice, for example, the location bar changes the "mo" to "ht", due to the autocomplete replacing what I was typing with the URL of the mozilla.com tab, which starts with http://.
    This is really annoying... since if I continue typing the word "mouse" it replaces it with "htuse". Which is useless to me, trying to search for mice.
    Any way to fix this?

    There is a way that you can do this, but it does mean abandoning CNAME forwarding that you have already set up and just using ordinary masked web forwarding. In this way you can go to the web forwarding section at your domain name registrar and forward your domain name to web.me.com/username/sitename. This will re-direct your site in the way that you want, but because it is masked web forwarding, just your domain name will show as the url for every single page, so you cannot bookmark single pages of a site, just the whole site.
    If you use an iWeb blog and you mess around with moving the pages around in your iDisk, then you will loose MobileMe features such as the ability to post comments and also as you have already found, when you publish from within iWeb, it automatically publishes to the same place on your iDisk and not where you have moved your site to.
    If I were you I would set up an individual blog with WordPress or Blogger or something similar - if you have an ordinary web host you can upload WordPress there and this then has the advantage of you being able to use your domain name followed by blog or whatever. It is a lot simpler than fiddling around with the iWeb blogging system - I have a blog on my own site and I use WordPress. My site was designed using iWeb and I just create a link from my site to my blog at WordPress - couldn't be simpler really.

  • [SOLVED] Download from a SourceForge URL with white spaces

    I was trying to make a PKGBUILD for The Butterfly Effect, a free game which is still in it's Milestone 7 version. The thing is I'm not able to use this URL to download the source:
    "http://download.sourceforge.net/sourceforge/tbe/files/Milestone 7/TheButterflyEffect-M7.src.tgz"
    That is probably because the white space, and it must be SourceForge's fault, since neither wget (the one used with PKGBUILDs) nor Konqueror can download from that location, which I think is correct (I use others that way for other PKGBUILDs).
    So...
    1) Am I wrong, and I should write the URL with another syntax, or
    2) is there a trick for cases like this one?
    Last edited by Gallaecio (2010-06-19 16:35:28)

    I don't know what's the matter with your software, but the correct link to the file is
    http://sunet.dl.sourceforge.net/project/tbe/Milestone%207/TheButterflyEffect-M7.src.tgz
    A space in a weblink usually translates into %20. See this for more info: http://en.wikipedia.org/wiki/Percent-encoding

Maybe you are looking for

  • What sort of cable do i need?

    Hi there, my current setup is mac mini connected to TV using the DVI / s-video adapter on the apple store, however i also switch to a VGA connection on a monitor which is currently beside my tv using the DVI / VGA adapter i got in the mini's box. I h

  • No longer able to print via wireless network

    I have an HP OfficeJet 6500A Plus E710N and have had it connected to my wifi network and working properly for some time now.  Recently, print jobs would queue up and nothing would print b/c it said the printer could not be found on the network. I del

  • Mview oracle 8i and 10iR2

    Is it possible (and supported) to create a materialized view log in an Oracle 10gR2 Database and create a materialized view based on this mv-log in an Oracle 8.1.7 (or an Oracle 9i) database ? Regards, Dennis

  • Xcelsius SWF with QaaWS through SSL: Cannot access external data

    I am getting the following error while loading Xcelsius Dashboard in https mode. Error: Error #2170, Cannot Access External Data Connection Type: Query as a Web Service To access external data, add a cross-domain policy file to the external data web

  • Problem with Floppy discs

    I am running Solaris 10 x86. The machine has also Windows installed. With my Windows I can use floppy discs without any problem. Under Solaris (after giving volcheck command) CDE displays that floppy is unformated. 1. I tried to format it in Windows,