Why this "!" char appears in my string?

Hi,
i've noticed a quite strange beahviour in my application.
there's a form composing an email to send. in this form there's an hidden item called BODY and its source attribute is:
You can access the document from the following link:
<table bgcolor=gold border="0" width="30%"><tr ALIGN="center"><td><b>Get the document here</b></td></table>
when i receive the email with my mail program i correctly find the string "You can access..." with the link to the document BUT, sometimes, i find a "!" character in the link.
this happens when the document name is very long or if i put some other characters (blank for instance) before the link.
it seems as if after a certain length, apex put the "!" char in the string.
anybody knows why and how can i avoid this behaviour?
thanks a lot,
matte

Hi, i've noticed a quite strange beahviour in my application.<br>
there's a form composing an email to send. in this form there's an hidden item called BODY and its source attribute is: <br><br> <i>
You can access the document from the following link: <table bgcolor=gold border="0" width="30%"><tr ALIGN="center"><td>Get the document here</td></table> </i>
<br> <br>
when i receive the email with my mail program i correctly find the string "You can access..." with the link to the document BUT, sometimes, i find a "!" character in the link. <br>
this happens when the document name is very long or if i put some other characters (blank for instance) before the link. <br>
it seems as if after a certain length, apex put the "!" char in the string. <br>
anybody knows why and how can i avoid this behaviour? <br>
thanks a lot, matte

Similar Messages

  • Can anyone explain why this keeps appearing whenever I start my computer?

    Can anyone tell me what this means and how I can get rid of it? It's really annoying me! Appears on screen each time I start my computer up.
    Cheers.

    You've probably got hard disk corruption or malware on your computer. Run a virus scan with a recently update antivirus. Next, reinstall iTunes as described here: http://support.apple.com/kb/HT1925.
    Follow the instructions exactly, and do not skip any steps.

  • U00EFu00BBu00BF  -these chars why they are appearing the inbound message step in moni

    when i am testing the file-to-proxy scenario, by placing a proper xml file in the outbound directory,
    it is failing in the xml-validation step.
    in the moni, when i see the payload of the the Inbound Message step, i see
    <?xml version="1.0" encoding="utf-8"?>
    Invalid at the top level of the document. Error processing resource 'file:///C:/Documents and Settings/i053295/Local Settin...
    <?xml version="1.0" encoding="utf-8"?>
    My question is: why the chars  are getting appeared in the inbound message, but i checked the actual input xml file, opened in notepad, editplus etc, it does not contain those chars.

    Hi,
    Try to open the input file with textpad or wordpad.You can find the space or some etc char in the file.
    Thanks.
    Regards,
    Indira D

  • I've been getting this message all day long, WHY? "Oops! This link appears broken. DNS error occurred. Server cannot be found.

    I've been getting this message all day long, WHY?
    "Oops! This link appears broken.
    DNS error occurred. Server cannot be found.

    I've been getting this message all day long, WHY?
    "Oops! This link appears broken.
    DNS error occurred. Server cannot be found.

  • HT201272 I purchased the Killers new album and for some reason now my computer says it can't find the files. So I tried to download the album again off my iTunes acount but the cloud button won't appear. Does anyone know why this is happening?

    I purchased the Killers new album and for some reason now my computer says it can't find the files. So I tried to download the album again off my iTunes acount but the cloud button won't appear. Does anyone know why this is happening?

    These are user-to-user forums, you are not talking to Apple here.
    Audiobooks (and ringtones) are currently a one-time only download. I believe that they are all supplied to Apple by audible.com, so I assume that it's them who are requiring the one-time only download restriction. To get it onto your other devices you will need to sync it via a computer. Depending upon what country that you are in, Audible.com have their own app (Audiobooks from Audible) so you might be able to buy direct from them, though I don't know whether you can buy within their app or download audiobooks directly from them within the app e.g. whether they need to be copied via a computer.

  • HT5622 Why am I asked to enter my Apple ID and Password whenever I Download an app? although I'm already signed in. this thing appears on every new apps I wanna have and dosen't let me to use the app.

    Why am I asked to enter my Apple ID and Password whenever I Download an app? although I'm already signed in. this thing appears on every new apps I wanna have and doesn't let me to use the app.

    This is also happening to me but when i re set the password on line and then go to my ipod to use it is says it does nott recognize it ??

  • This error message appeared.  Does anyone know why this happened?  "You haven't been logged out because the applicationSoftwareUpdateCheck failed to quit-".  Thanks  Mark

    This error message appeared.  Does anyone know why this happened?  "You haven't been logged out because the applicationSoftwareUpdateCheck failed to quit…".  I am using 10.8.4
    Thanks
    Mark

    Apple menu (left on top) and choose "force Quit":
    choose appstore and forcequit.
    Start Appstore again, login, and choose the Update page.

  • The images in my project on illustrator appear one way but save differently in PDF. Any idea why this is happening?

    In Illustrator, this is what I see... this is what I want.
    When saved as a PDF, this is what I see... a much harsher white outline on the star fish.
    Anybody know why this is happening?

    First, Repair Permissions with Apple's Disk Utility.
    Then verify that you have Read and Write permissions to the folder or volume you are saving to.

  • Why does this message appear: The item you've requested is not currently available in the U.S. store. When I open iTunes?

    For no discernible reason when I opened iTunes and selected the iTunes Store, this message appeared:
    The item you've requested is not currently available in the U.S. store.
    rebooted computer. Flushed iTunes cache. I see lots of references to this in older posts (2012 and earlier) but nothing recent.

    There are several posts about this in the last 15 minutes
    Look around. 
    Be patient, itunes will correct their issue.

  • When I want to download a game or an app this will appear: error code: 1009. Why??!!!

    Sometimes when I want to download from AppStore this sentence appears:" your request can't be processed. Error code:1009.
    Please help me.

    Hi Navid1379,
    Thanks for visiting Apple Support Communities.
    I recommend the troubleshooting steps in this article if you continue to receive an "error 1009" when downloading items from the App Store:
    Can't connect to the iTunes Store
    http://support.apple.com/kb/ts1368
    Regards,
    Jeremy

  • HT5129 Why does this message appear over and over again?

    This message appears everytime I try to do something in iPhoto and freezes everything else.  Can I stop it from appearing?

    Click on the More Info button, go to iPhoto's Accounts preference pane and delete the MobileMe account. Next to go the Sustem/MobileMe preference pane and log out of MMe.  That will stop those messages.
    OT

  • Please see why this is not working

    hi everyone!
    Please spare ur time to see what's wrong in this code:
    I have written this code for a GUI which checks for 4 types of punctuation errors in .txt files.
    The code compiles correctly and the Gui also appears nicely but when I Give a pathname in the space provided(also using the escape sequence '\\' for the '\' character ) it does not generate the "errors.txt"
    file whhich it is supposed to do.
    The code is as follows:
    import java.io.*;
    import java.awt.*;
    import java.applet.*;
    public class textcopy extends Applet
    public void init()
    Choice ch=new Choice();
    ch.addItem("Click Next to continue.");
    ch.addItem("Framework Properties");
    Label l1=new Label(" ");
    Label nm=new Label("Please specify the errors that you want to be checked for in the file:");
    Label a1=new Label("Write the pathname here:");
    ta=new TextArea(1,20);
    B=new Button("OK");
    Checkbox b1=new Checkbox("Punctuation errors");
    Checkbox b2=new Checkbox("Finding whether a key string is misspelt");
    Label l2=new Label("Please select the key string from one of these:");
    add(a1);
    add(ta);
    add(B);
    add(l1);
    add(nm);
    add(b1);
    add(b2);
    add(l2);
    add(ch);
    TextArea ta;
    Button B;String str="";
    public boolean action(Event e,Object obj)
    if(e.target instanceof Button)
    repaint();
    return true;
    return false;
    public void paint(Graphics g)
    String s=ta.getText();
    try{
    FileReader fin=new FileReader(s);
    PrintWriter fout=new PrintWriter(new BufferedWriter(new FileWriter("errors.txt")));
    parse(fin,fout);
    fin.close();
    fout.close();
    catch(IOException e){}
    //This is the code for the parser ------it is perfectly correct--so you dont need to check this.
    public static void parse(FileReader fin,PrintWriter fout)throws IOException
    String str="Punctuation Errors:\n"; /*Heading*/
    fout.println(str);
    fout.println("========================================================");
    int i=0,j=0,k=0,l=0;
    j=fin.read();
    do{
    do{
    i=j;
    j=fin.read();
    }while((!((char)i=='('&&(char)j=='R'))&&(j!=-1));
    if(j==-1)break;
    j=fin.read();
    j=fin.read();
    j=fin.read();
    j=fin.read();
    j=fin.read();
    j=fin.read();
    j=fin.read();
    char refnum[]=new char[5];
    l=0;
    while((char)j!=')')
    j=fin.read();
    if((char)j!=')')
    refnum[l++]=(char)j;
    fout.write("REF. NUM: ");
    for(int a=0;a<l;a++)fout.write(refnum[a]);fout.write(": ");
    j=fin.read();
    l=0;
    do{
    i=j;
    j=fin.read();
    if((char)i=='\n')
    k++;
    //'k' gives the line no. and finally the no. of lines and neglects the lines before first occurence of "Ref Num
    if(((char)i==',')&&((char)j!=' '))
    l++;
    String st=l+". error at line number "+ (k+1) + ": There should be "+
    "a space after comma(,) \n";
    fout.println(st);
    if(((char)i=='.')&&((char)j!=' '))
    l++;
    String st=l+". error at line number "+ (k+1) + ": There should be "+
    "a space after period(.) \n";
    fout.println(st);
    if(((char)i=='.')&&((char)j=='.'))
    l++;
    String st=l+". error at line number "+ (k+1) + ": There should not be "+
    "two periods(.) together \n";
    fout.println(st);
    if(((char)i==' ')&&((char)j=='.'))
    l++;
    String st=l+". error at line number "+ (k+1) + ": There should not be "+
    "a space before a period(.) \n ";
    fout.println(st);
    }while((!((char)i=='-' && (char)j=='T')) && j!=-1);
    fout.println(" ");
    /*if(l==0)
    fout.println("No errors!!!!");*/
    if(j==-1)break;
    }while(j!=-1);
    The html file I made for this is as follows:
    <html>
    <body bgcolor="Red">
    <center>
    <h1><b>Welcome to qch </b></h1>
    <applet code=textcopy.class width=800 height=400 >
    </applet>
    </center>
    </body>
    </html>
    N.B.:I have not used main() in the above program becoz it would not have been a pure GUI program
    Please see what I did wrong in the above code.
    Thanks in advance
    Avichal

    c'mon guys help me!!!!!!!!!!!!!!!!See reply #1 and reply #5. Print any exceptions you
    catch. Print messages at key points in the programs
    execution. Then you will we what is wong.
    and change this line please "public class textcopy extends Applet" -otherwise you're flogging a dead horse, ie: applets run inside a 'sandbox' so there are a set of security measures that prevent them reading from or writing to user files (unless you run the applet inside a protective IDE shell such as JBuilder)
    public class textcopy extends JFrame{ ...would be a better starting point.
    people would probably be happy to assist you convert this to a Frame or JFrame if you haven't done this before.

  • Char array conversion from String: toCharArray()

    Greetings,
    Can anyone tell me why this code:
    import com.wuw.debug.Trace;
    public
    class charTest
       public static void
       main( String[] args )
           String strIn = new String( "strIn" );
           Trace.DTRACE( "strIn: "+strIn );
           Trace.DTRACE( "strOut: "+strIn.toCharArray() );
    }produces this output:
    [DTRACE]: strIn: strIn
    [DTRACE]: strOut: [C@1fef6f
    and not:
    [DTRACE]: strIn: strIn
    [DTRACE]: strOut: strIn

    Because:
    String.toCharArray returns an array of chars.
    An array is basically an object in java.
    Objects are converted to strings with the method toString - if it's not implemented in your class the string that method returns will be of the form classname@hashcode.
    In the case of a char array, the name of the class is "[C". The hashcode of you object seems to be "1fef6f" (in hex).
    You'll just have to remember that an array of chars is [i]not a string in java.

  • Getting char values from a string problem

    Hi,
    Here's an example of what I'm trying to do:
    boolean loopSwitch = true;
    while (loopSwitch)
         String orderDecider = JOptionPane.showInputDialog (null, "Would you like your numbers to be ordered in   ascending or descending order(A/D)",      "Order decision", JOptionPane.QUESTION_MESSAGE);
         if (orderDecider == A)
         loopSwitch = false;
         }I basically want the user to input either a/A/d/D and to get the char values from the string so I can use them in an if statement.
    Basically, I wanna parse the string into a char.
    Is this possible?
    Thanks.
    Edited by: xcd on Oct 16, 2009 8:38 AM

    Why not just use the String.equals() method to compare a String to a String?
    But if you must, you can use the String.charAt() method to return a char at a particular location in the String.
    Note: char literals need to be surrounded by single quotes ('A') and String literals need to be surrounded by double quotes ("A").

  • Not Sure why this is not working

    hi all,
    Version details :
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    "CORE     11.2.0.2.0     Production"
    TNS for Solaris: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production
    Select * From Dual
    Where 'A' In (Decode( 'A','A','''A'''
      ||','
      ||'''B''','C','C'));
    Result :
       no rows
    Select * From Dual
    Where 'C' In (Decode( 'C','A','''A'''
      ||','
      ||'''B''','C','C'));
    Result :
    Dummy
       XPlease let me know why this is working like this ..
    Problem:
    When the input is 'A' then condition should be 'A' in ('A','B')
    When the input is 'C' then condition should be 'C' in ('C')
    Thanks,
    P Prakash
    Edited by: prakash on Feb 4, 2013 10:41 PM

    Your first query
    Select * From Dual Where 'A' In (Decode( 'A','A','''A'''||','||'''B''','C','C'));This would be evalueated like this
    select * from dual where 'A' = '''A'''||','||'''B'''And your second query
    Select * From Dual Where 'C' In (Decode( 'C','A','''A'''||','||'''B''','C','C'));Thiw would be evaluated like this
    select * from dual where 'C' = 'C'You cannot pass value for IN operater as comma seperated string. The entire string will be passed as a single value. Each value in an in operator is a seperate variable and need to be passed sperately.
    select * from dual where 'A' in ('A', 'B') is not the same as
    select * from dual where 'A' in ('''A'''||','||'''B''')

Maybe you are looking for

  • Using iTunes to Play Music Stream On LAN

    I have a Denon ASD-3W which serves as an iPod dock and accesses radio internet stations (via vTuner website) and plays them through my stereo. That works great. Given that stream is playing across my LAN, how would I tap into that using iTunes and pl

  • ESS - Business package and training records

    Which BP revision we need to import for Training Records for ESS implementation? I am thinking Training recoreds are not available in Business Package ECC 6.0 is it true? how can we take these applications from the old versions of Business Packages (

  • HT3529 If you have an IPod touch, how do you change the text tones???

    How do you change the text tone on the IPod's Message???

  • Current selected element of table ( using tree  )

    Hi experts ,                      I am using a tree by table UI in which master. I want to know text of current selected element of table (which is one of the column of table ) . as table is dynamically expanding or collapsing upon expanding or closi

  • How to change table name after creating page and application

    Hi HTMLDB Team, i have created a application with page where the region use master detail form with table name emp.Now after developing the page and the application i want to change the table from emp to emp2 where emp2 is the table with same structu