Removing predictive test from N95

HI
Can someone tell me how to remove predictive text from my boss new nokia n95 please when he is texting someone as he is in the dark ages
thanks

press the # key until the abc is not underlined anymore
The best way to get a quick response is to use the boards. Please do not be offended if I don't answer emails immediately.

Similar Messages

  • [svn:osmf:] 13681: Removed build warnings from several test projects.

    Revision: 13681
    Revision: 13681
    Author:   [email protected]
    Date:     2010-01-20 17:50:46 -0800 (Wed, 20 Jan 2010)
    Log Message:
    Removed build warnings from several test projects. 
    Modified Paths:
        osmf/trunk/apps/samples/plugins/CaptioningSample/.project
        osmf/trunk/apps/samples/plugins/MASTSample/.project
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/.actionScriptProperties
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/.project
        osmf/trunk/plugins/CaptioningPluginTest/.actionScriptProperties
        osmf/trunk/plugins/CaptioningPluginTest/.project
        osmf/trunk/plugins/CaptioningPluginTest/src/CaptioningPluginTest.mxml
        osmf/trunk/plugins/MASTPluginIntegrationTest/.actionScriptProperties
        osmf/trunk/plugins/MASTPluginIntegrationTest/.project
        osmf/trunk/plugins/akamai/AkamaiBasicStreamingPluginIntegrationTest/.actionScriptProperti es

        I think I addressed all your questions in my original post, but since it ran a bit long, I'll recap....
    1.  I'll attach screenshots of my report options tab for the first report.  The second is the same, with the only change being that it's configured for xml reports.
       The temp files were deleted correctly prior to configuring for multiple reports.
    2.  If the first report is xml and the second is html, both are readable.  If the second is xml, the xml report is not readable by a browser, whether the first is html or xml.  If the first is also xml, it is apparently over-written by the second xml, which is bad.
    3.  I'm using a modified version of the instructions from this link to
    generate multiple reports.
    http://forums.ni.com/t5/NI-TestStand/Create-Two-TS​3-5-Reports-XML-and-ATML/td-p/471394
    I modified the instructions to work with TestStand 4.1.1.  I also
    modified it so I would not be changing the default sequence model. I'll attach the modified sequence model.
    -Mark
    Attachments:
    Report_opts1.JPG ‏65 KB
    Report_opts2.JPG ‏60 KB
    SequentialModel_multiReport.seq ‏33 KB

  • Since the software update my photo from LinkedIn now is attached to all of my text messages and I DO NOT WANT THAT.  How do I remove my photo from my test messages?

    Anyone know how to remove your own picture that is now attached to all text messages?  Since the software update (assume KitKat) my LinkedIn photo is now attached to all my text messages and I never set that up, nor can I figure out how to remove it!
    How do I remove my photo from my text messages?  Android RazrM.
    Help!  It is driving me crazy.  Thank you.

    Thanks, but this information was not useful.  First it was outdated (2012 and the software is 2013/2104)  in the Settings/Apps/All section there was no "Text Messaging" icon.  Under "Phone/Messaging" the clear cache was not possible, it was not available, an active option.
    VERIZON/GOOGLE -  I am still hoping to learn how to remove my photo from my text messages - why is this so difficult?  Why is something like this added without my permission or at my request?   May be a reason to jump ship to iOS.

  • Removing "Deleting" test sites that are not published from the "Open a Recent Site" List

    How can unpublished sites be removed from Muse?

    If you choose File > Open Recent > Clear Recent you can remove all sites from the recent list. This clears all, not just the ones you want.

  • Regexp_replace to remove blank lines from multi lines in a single field

    Gents. 10g R2.
       with test_tab as
       (select 'x'||chr(10)||'y'||chr(10)||chr(10)||'z' tester from dual)
       select tester from test_tabproduces
    x
    y
    zI require
    x
    y
    zThere's a lot of examples on how to end up with xzy, but I need to maintain the carriage returns, just strip out blank lines.
    I've been trying with posix [:cntrl:] but it doesn't seem to want to work. Question: how to get the desired output?
    If this has been answered on another post, please point me in the right direction and accept my apologies!

    Hi,
    The simplest thing might be to use LTRIM. (or TRIM, if you need to remove them from the end of the string, as well).
    If you want a regular expression:
    SELECT     REGEXP_REPLACE ( tester
                     , '(^|' || CHR (10) || ')' || CHR (10) || '+'
                     , '\1'
    FROM     test_tab
    ;This might be easier to understand if you let x stand for CHR (10):
    SELECT     REGEXP_REPLACE ( tester
                     , '(^|x)x+'
                     , '\1'
    FROM     test_tab
    ;This is easier to understand: \1 is either the beginning of the string or x. When this is followed imeediately by 1 or more extra x's, then replace that whole pattern with \1 (that is, remove the extra x's).

  • How does one remove temporary files from Safari?  A friend logged on to her Facebook account using my iMac.  Now I can't remove her e-mail address from Facebook.  It was suggested to me that I try clearing temporary files from Safari but I can't find

    How does one remove temporary files from Safari?  A friend logged on to her Facebook account using my iMac running Mac OSX 10.7.5 and Safari 6.1.6.  Now I can't remove her e-mail address from my computer.  When I open Facebook her address shows in the user button.  I do not have a Facebook account.  It was suggested to me that I try clearing temporary files from Safari but I can't find anything that tells me how to do this.  Are temporary files the same as the cache?  It also was suggested that I try clearing Safari cache.  How do I do that?

    Check Safari/Preferences/Passwords to see if the Facebook account is there. If so, select it and remove it. If you are still having problems, Safari/Preferences/Advanced - enable the Develop menu, then go there and Empty Caches. Quit/reopen Safari and test. If that doesn't work, Safari/Reset Safari.

  • How do I remove an app from the update list that is under someone else's apple id?

    How do I remove an app from the update list that is under someone else's apple id? So this way the update always fails because it asks for someone else's password. I don't have the app on my mac, it only appears in the update list. It's just annoying, because the update keeps appearing, and the reminder keeps reminding me that I should install a new update.

    You installed a hacked app, originally from the Mac App Store. It contains the receipt for a different app, downloaded using an account that you don't control. You need to identify and remove the hacked app.
    Important: The app you need to remove is not necessarily the one named in the App Store alert. For example, the App Store may prompt you to update "Angry Birds" or "Twitter," but the hacked app may be something else entirely. Don't make any assumptions about which app you're looking for. To find it, you must carry out a systematic search with Spotlight.
    1. Triple-click anywhere in the line of text below on this page to select it:
    kMDItemAppStoreHasReceipt=1
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    2. In the Finder, press command-F to open a search window, or select
    File ▹ Find
    from the menu bar. In the search window, select
    Search: This Mac
    from the row of tokens below the toolbar. Below that is a popup menu of search criteria, initially showing Kind. From that menu, select
    Other...
    A sheet will drop down. In that sheet, select
    Raw Query
    as the criterion, then click OK or press return.
    Now there will be a text box to the right of the menu of search criteria. That's where you enter the raw search query. Click in that box and paste the text you copied earlier by pressing command-V.
    4. The search window will now show all the App Store products that are installed. Compare those search results with the list of your purchases from the App Store. To see the complete list, you may need to unhide hidden purchases. If any apps were download from the App Store using other Apple ID accounts that you control, sign in to the store under each of those ID's and check the purchases.
    At least one of the apps in the Spotlight search results is not among your purchases in the App Store. Move each such item to the Trash, after quitting it if it's running. You may be prompted for your administrator password. Empty the Trash.
    Quit and relaunch the App Store. Test.
    If you find these instructions confusing, ask for an alternative method.

  • How to remove Apple product from iTunes?

    I have an iPad that my husband now uses, but through common WiFi and iTunes account, it appears in my Mac in iTunes (sync). Do somebody know how do I remove it without setting iPad as new? He is syncing it with he's own comp, I don't want to have it shown in my.

    Howdy Barry
    Here's my test from an old product I no longer have
    ⬇ Click/Tap to enlarge ⬇
    You just click the Product (as highlighted in grey)
    Click the [Remove Product] button centerstage - the appears VERY briefly beside the button
    one responds to the challenge "Are you sure..." by clicking [Remove Product] once more
    Success page
    notification email ( notice there is NO "Undo" )
    back to MySupportProfile after clicking the only button on the Success Page
    If you think [ EDIT Products ] button may be a workaround, I'll let you illustrate
    ÇÇÇ
    <Edited By Host>

  • How to remove a product from my Apple Support Profile

    I want to sell a used computer. It is necessary to remove it from my Apple Support Profile at supportprofile.apple.com before doing that.
    I can see the machine in the list of products. I can click the link "remove" but the wheel turns forever and the next page is not displayed. The removal process is stuck. This is also so in different browsers (I tested Safari, Firefox).
    How can I delete a product from the list in my Support Profile???

    Howdy Barry
    Here's my test from an old product I no longer have
    ⬇ Click/Tap to enlarge ⬇
    You just click the Product (as highlighted in grey)
    Click the [Remove Product] button centerstage - the appears VERY briefly beside the button
    one responds to the challenge "Are you sure..." by clicking [Remove Product] once more
    Success page
    notification email ( notice there is NO "Undo" )
    back to MySupportProfile after clicking the only button on the Success Page
    If you think [ EDIT Products ] button may be a workaround, I'll let you illustrate
    ÇÇÇ
    <Edited By Host>

  • I cannot remove embedded barcode from the image. Due to saving compression.

    Hi guys,
    I recreate a thread to prevent confusing on my previous one. Please only reply to this thread thanks.
    Ok, for a start I will give some general description about the application I made.
    I had some problem with the image being compressed while it is saved.
    Because saving an image will cause it to compress and had its pixel valued changed, I could not successfully remove the bardcode that is embedded inside a image(although some of the pixel value will be returned to original normally). I had placed my code below and will accept any opinion that will help me solve the removal of barcode problem.
    What my application does is actually very simple. It will take the pixel value of the area inside the image that will be embed with the barcode first, then it will take the pixel value of the barcode and use the formula (1-alpha * Image pixel value) + (alpha * barcode pixel value) = new pixel value which will contain the barcode that had been embedded inside. The formula works great but when I saved the image the pixel value will change due to compression. On the removal of barcode my application will read every pixel value from the image embedded with barcode (only the area with barcode embedded), then it will go on to read every pixel value of the barcode used for embedding and then use the formula (Embedded image pixel value - (alpha * Barcode pixel value) - (1 - alpha) = original pixel value. But due to the reason that compression will change some of the pixel inside the saved image to drop in its value, the result from the removal formula will be negative and hence caused my result image to become wierd as it will red colors instead of original color on some of its pixel. I tried saving under PNG format which people said to be lossless compression but the result is still the same.
    So I need to ask you guys for opinion or help me find the part where I actually did wrongly and caused the image pixel value to change.
    Thanks. Please proceed and read below for the codes that I used. It is messy and I will sort it out later.
    When alpha is set as 1 the barcode will appear to be overwrite onto the image. But when alpha is set as 0.1 the barcode will appear to be transparent and almost seems to be not there on the image when embedded.
    This is the code I used to retrieve image pixel when embedding:
    public static int[] getImagePixelValue(BufferedImage image, int x, int y){
              //Create an array to store image RGB value
              int[] imageRGB = new int[3];
              //Get height and width from input image
              int imageWidth = image.getWidth();
              int imageHeight = image.getHeight();
              //Get raw RGB value from image
              int imageValue = image.getRGB(x, y);
              //Convert image raw RGB value
              int imageRed = ((image.getRGB(x, y) >> 16) & 0xff);
              int imageGreen = ((image.getRGB(x, y) >> 8) & 0xff);
              int imageBlue = image.getRGB(x, y) & 0xff;
              //Input the converted RGB value into the array
              imageRGB[0] = imageRed;
              imageRGB[1] = imageGreen;
              imageRGB[2] = imageBlue;
              /*//Print out the pixel value to check
              System.out.println("Image red pixel: "+imageRGB[0]);
              System.out.println("Image green pixel: "+imageRGB[1]);
              System.out.println("Image blue pixel: "+imageRGB[2]);*/
              //Return image RGB value
              return imageRGB;
    }This is the code I used to retrieve barcode pixel for embedding:
    public static int[] getWatermarkPixelValue(BufferedImage watermark, int x, int y){
              //Create an array to store watermark RGB value
              int[] watermarkRGB = new int[3];
              //Get height and width from input watermark
              int watermarkWidth = watermark.getWidth();
              int watermarkHeight = watermark.getHeight();
              int watermarkValue = watermark.getRGB(x, y);
              //Convert watermark raw RGB value
              int watermarkRed = ((watermark.getRGB(x, y) >> 16) & 0xff);
              int watermarkGreen = ((watermark.getRGB(x, y) >> 8) & 0xff);
              int watermarkBlue = watermark.getRGB(x, y) & 0xff;
              //Input the converted RGB value into the array
              watermarkRGB[0] = watermarkRed;
              watermarkRGB[1] = watermarkGreen;
              watermarkRGB[2] = watermarkBlue;
              /*//Print out the pixel value to check
              System.out.println("Watermark red pixel: "+watermarkRGB[0]);
              System.out.println("Watermark green pixel: "+watermarkRGB[1]);
              System.out.println("Watermark blue pixel: "+watermarkRGB[2]);*/
              //Return watermark RGB value
              return watermarkRGB;
         }This is the code I used for merging the image pixel and barcode pixel to get the embedded pixel value:
    public static int[] getEmbeddedPixelValue(int[] imagePixelValue, int[] watermarkPixelValue, double alpha){
              //Create a object to hold embedded pixel value
              int[] embeddedRGBValue = new int[3];
              //Change image pixel value into double calculating equation
              double imgRedValue = (double) imagePixelValue[0];
              double imgGreenValue = (double) imagePixelValue[1];
              double imgBlueValue = (double) imagePixelValue[2];
              //Change watermark pixel value into double calculating equation
              double wmRedValue = (double) watermarkPixelValue[0];
              double wmGreenValue = (double) watermarkPixelValue[1];
              double wmBlueValue = (double) watermarkPixelValue[2];
              //Equation for embedding image and watermark together
              double embeddedRed = ((1.0 - alpha) * imgRedValue) + (alpha * wmRedValue);
              double embeddedGreen = ((1.0 - alpha) * imgGreenValue) + (alpha * wmGreenValue);
              double embeddedBlue = ((1.0 - alpha) * imgBlueValue) + (alpha * wmBlueValue);
              //Changing embedded value from double to int
              int embeddedRedValue = (int) embeddedRed;
              int embeddedGreenValue = (int) embeddedGreen;
              int embeddedBlueValue = (int) embeddedBlue;
              //input the embedded RGB value into the array
              embeddedRGBValue[0] = embeddedRedValue;
              embeddedRGBValue[1] = embeddedGreenValue;
              embeddedRGBValue[2] = embeddedBlueValue;
              //Return embedded pixel value
              return embeddedRGBValue;
         }This is the code where I used for the embedding process:
    else if(target == embedButton){
                   String xCoordinate = JOptionPane.showInputDialog(embedButton, "Enter coordinate X", "When you want to embed the watermark?", JOptionPane.QUESTION_MESSAGE);
                   String yCoordinate = JOptionPane.showInputDialog(embedButton, "Enter coordinate Y", "When you want to embed the watermark?", JOptionPane.QUESTION_MESSAGE);
                   int xValue = Integer.parseInt(xCoordinate);
                   int yValue = Integer.parseInt(yCoordinate);
                   int wCounter = 0;
                   int hCounter = 0;
                   //Create file object to be used in embedding and removing watermark
                   File inputImage = new File(imagePath);
                   File inputWatermark = new File(watermarkPath);
                   //Convert string into double for calculation of embedded pixel value
                   try {
                        alphaDouble = Double.valueOf(alphaValue).doubleValue();
                   catch (NumberFormatException nfe) {
                        System.out.println("NumberFormatException: " + nfe.getMessage());
                   try{
                        //Define selected image as testPic and make java read the file selected
                        BufferedImage image= ImageIO.read(inputImage);
                        BufferedImage watermark= ImageIO.read(inputWatermark);
                        BufferedImage testing;
                        //Get height and width value from the selected image
                        int imageWidth = image.getWidth();
                        int imageHeight = image.getHeight();
                        //Get height and width value from the selected barcode
                        int watermarkWidth = watermark.getWidth();
                        int watermarkHeight = watermark.getHeight();
                        int totalWidth = watermarkWidth + xValue;
                        int totalHeight = watermarkHeight + yValue;
                        //Use nested for loop to get RGB value from every pixel that the barcode will be embedded in the selected image
                        if(totalWidth <= imageWidth && totalHeight <= imageHeight){
                             for (int h = yValue ; h < totalHeight; h++){
                                  for (int w = xValue; w < totalWidth; w++){
                                       int[] imagePixelValue = getImagePixelValue(image, w, h);
                                       int[] watermarkPixelValue = getWatermarkPixelValue(watermark, wCounter, hCounter);
                                       int[] embeddedPixelRGBValue = getEmbeddedPixelValue(imagePixelValue, watermarkPixelValue, alphaDouble);
                                       setRed(image, w, h, embeddedPixelRGBValue[0]);
                                       setGreen(image, w, h, embeddedPixelRGBValue[1]);
                                       setBlue(image, w, h, embeddedPixelRGBValue[2]);
                                       wCounter++;
                                       if(wCounter == watermarkWidth){
                                            wCounter = 0;
                                            hCounter++;
                        else{
                             JOptionPane.showMessageDialog(embedButton, "The watermark cannot be embedded at the coordinates.");
                        tempImage = image;
                        imageIcon = new ImageIcon(tempImage);
                        labelImage.setIcon(imageIcon);
                        imagePanel.add(labelImage);
                        container.add(imagePanel, BorderLayout.CENTER);
                        setVisible(true);
                        System.out.println("Embedding completed");
                   catch(Exception errorEmbedding){
                        //If there is any error, the try and catch function will tell you the error
                        System.out.println("The following error occured: "+errorEmbedding);
              }This is the code I use to save the image that had been embedded with the barcode:
    else if(target == saveAction){
                   JFileChooser chooser = new JFileChooser();
                   FileNameExtensionFilter filter = new FileNameExtensionFilter("JPG & GIF Images", "jpg", "gif");
                   chooser.setFileFilter(filter);
                   chooser.setCurrentDirectory(new File("."));
                   int returnVal = chooser.showSaveDialog(getParent());
                   if(returnVal == JFileChooser.APPROVE_OPTION) {
                        String name = chooser.getSelectedFile().getAbsolutePath();
                        //Create a string instant to hold outputImage path name
                        String saveFile = chooser.getSelectedFile().getName()+"."+fileType;
                        //Create file output to decide what name will be used to save the file
                        File outputImage = new File(saveFile);
                        try{
                             //Save the file with the name used
                             ImageIO.write((RenderedImage) tempImage,fileType,outputImage);
                        catch(Exception errorSaving){
                             //If there is any error, the try and catch function will tell you the error
                             System.out.println("The following error occured: "+errorSaving);
                   else{
              }This is the code I used for removal process of barcode:
    else if(target == removeButton){
                   //Create file object to be used in embedding and removing watermark
                   File inputImage = new File("removalTesting.jpg");
                   //File inputWatermark = new File(watermarkPath);
                   //Used a defined barcode for testing of removing barcode from embedded image
                   File inputWatermark = new File("barcode.jpg");
                   /*//Convert string into double for calculation of embedded pixel value
                   try {
                        alphaDouble = Double.valueOf(alphaValue).doubleValue();
                   catch (NumberFormatException nfe) {
                        System.out.println("NumberFormatException: " + nfe.getMessage());
                   //Used a defined alpha value for testing of removing barcode from embedded image
                   //alphaDouble = 0.5;
                   //Create x and y value for the starting coordinates of barcode embedded in the embedded image
                   int xValue = 0;
                   int yValue = 0;
                   int wCounter = 0;
                   int hCounter = 0;
                   try{
                        //Define selected image as testPic and make java read the file selected
                        BufferedImage image= ImageIO.read(inputImage);
                        BufferedImage watermark= ImageIO.read(inputWatermark);
                        //Get height and width value from the selected image
                        int imageWidth = image.getWidth();
                        int imageHeight = image.getHeight();
                        //Get height and width value from the selected barcode
                        int watermarkWidth = watermark.getWidth();
                        int watermarkHeight = watermark.getHeight();
                        int totalWidth = watermarkWidth + xValue;
                        int totalHeight = watermarkHeight + yValue;
                        //Use nested for loop to get RGB value from every pixel that the barcode had been embedded in the embedded image
                        if(totalWidth <= imageWidth && totalHeight <= imageHeight){
                             for (int h = yValue ; h < totalHeight; h++){
                                  for (int w = xValue; w < totalWidth; w++){
                                       int[] imagePixelValue = getImagePixelValue(image, w, h);
                                       int[] watermarkPixelValue = getWatermarkPixelValue(watermark, wCounter, hCounter);
                                       int[] removedPixelRGBValue = getOriginalImagePixelValue(imagePixelValue, watermarkPixelValue, alphaDouble);
                                       setRed(image, w, h, removedPixelRGBValue[0]);
                                       setGreen(image, w, h, removedPixelRGBValue[1]);
                                       setBlue(image, w, h, removedPixelRGBValue[2]);
                                       wCounter++;
                                       if(wCounter == watermarkWidth){
                                            wCounter = 0;
                                            hCounter++;
                        tempImage = image;
                        imageIcon = new ImageIcon(tempImage);
                        labelImage.setIcon(imageIcon);
                        imagePanel.add(labelImage);
                        container.add(imagePanel, BorderLayout.CENTER);
                        setVisible(true);
                        System.out.println("Embedding completed");
                   catch(Exception errorEmbedding){
                        //If there is any error, the try and catch function will tell you the error
                        System.out.println("The following error occured: "+errorEmbedding);
              }Sorry if the codes are in a mess, I did not had the time to sort it out yet but most likely do it when I got the removal of barcode done.
    Follow this link to have a look of the result I see in my application when I got the barcode embedded into the image I selected:
    [http://img356.imageshack.us/my.php?image=beforeremovalresultmg2.jpg]
    Follow this link to have a look of the result I see in my application after I got the barcode removed:
    [http://img523.imageshack.us/my.php?image=removalresultmx4.jpg]
    As you can see from the link, after I remove the barcode from the image. Some of the pixel actually went back to normal in the barcode area when the the barcode is embedded into the image. But some pixel in the barcode area had its value changed due to compression when I save the image file I think.
    Anyone can help me find out the problem?
    Thanks.

    KamenRider wrote:
    I suspect the problem lies in the code when I save the image. Because people said that PNG was loseless compression but when I saved in PNG some of the pixel went back to normal while some did not. This is obviously the cause from changing of pixel value when I saved the image.You are almost certainly wrong. This is trivially easy to check. Print out the color of a certain pixel immediately before you save it. Open the saved PNG in your favorite image manipulation program and check the saved value of that same pixel. When you re-load the saved PNG, print out the color again. It should be unchanged.
    Thanks you for trying to help me spot the problem but the formula is correct. The alpha value i used in my application is used to set the transparency of the barcode that will be embedded in the image. Hence, when alpha = 1 the new pixel value should be the barcode value. ^^The formula isn't wrong, it's just not doing what you think it's doing. Remember that you're working with ints here, not floating point numbers, so they have finite precision. When you case from double to int, fractions are dropped. As morgalr pointed out, your formula is:
    (1-alpha * Image pixel value) + (alpha * barcode pixel value) = new pixel value You didn't show us the code for getOriginalImagePixelValue but I imagine it's:
    original pixel value = (new pixel value - alpha * barcode pixel value) / (1 - alpha)On a piece of paper, take alpha = 0.9, image pixel = 17 and barcode pixel = 100. Calculate out what you should get for new pixel value and then calculate what you should get for original pixel value. You will find they don't match.

  • How can I remove ASCII text from a field when I use it in a query

    How can I remove ASCII text from a field when I use it in a query?
    I am running a select statement on a table that appears to have ASCII text in some of the fields. If I use these fields in the where statement like the code below nothing returns:
    SELECT FIELD1 FROM TABLE1 WHERE FIELD1 IS NULL
    But the field looks empty if I do a straight select without the where clause. Additionally, one of the fields has text but appears to be padded out with ASCII text, which I need to strip out before I can use this field in a where or join statement. I have tried using a trim, ltrim, rtrim, to_char, nvl, decode and nothing works. When I use excel to run the same query it looks as if these ASCII fields are boxes.
    I have asked our DBA team to see what they can do to prevent these from going into the table, but in the mean time I still need to run this report.
    Do you have any suggestions?

    Can you provide an example? I've been trying (for
    example) "select translate(' test one', ascii(' '),
    'X') from dual" with no luck.
    Thank you.To replace space, you should query like this:
    select translate(' test one', chr(32), 'X') from dual instead of select translate(' test one', ascii(' '), 'X') from dual Thanks,
    Dharmesh Patel

  • Is it possible to remove xml declaration from a target HTTP msg in PI 7.1?

    Hello,
    I am working on a SOAP to HTTP scenario in PI 7.1.
    I am using a java mapping to create a target string. This target string does not contain XML declaration(<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>) in it.
    To elaborate the issue, while testing the message mapping, this XML declaration is not being prefixed to the message content. But, in integration engine, the http target message is being prefixed by this XML declaration by default.
    Output when tested in Operation Mapping(Desired result):
    abc=123:def=456
    Output been sent to receiver:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> abc=123:def=456
    Is there any possibility to send a  HTTP message to the receiver without this XML declartion. In other words, I need only the message content to be sent to the receiver.
    Kindly suggest.
    Regards,
    Swetha

    Hi,
    You can use JAVA/or XSLT mapping
    See this for Code
    Remove Encoding UTF from xml declaration in PI

  • How to remove a value from a vector of vectors

    How can I remove a value from a vector inside another vector, say;
    Vector myvector= new Vector();
    Vector data= new Vector();
    myvector.addElement(rs.getString(1));
    myvector.addElement(rs.getString(2));
    myvector.addElement(rs.getString(3));
    data.addElement(myvector);
    I want to get an element in the Vector "myvector" at index 2.

    import java.util.*;
    public class Test {
      public static void main(String args[]) {
        Vector myvector= new Vector();
        Vector data= new Vector();
        myvector.addElement("Zero");
        myvector.addElement("One");
        myvector.addElement("Two");
        data.addElement(myvector);
        System.out.println("main vector initially contains:" + data);
        myvector.remove(1);
        System.out.println("main vector now contains:" + data);
    }Output:
    main vector initially contains:[[Zero, One, Two]]
    main vector now contains:[[Zero, Two]]
    Just to be sure I was correct in the first place. Perhaps you should have done likewise before continuing stick to your guns.

  • Can't remove Contains() handler from SqlFunctionCallHandler - why?

    I'm trying to amend some Entity Framework functionality at runtime by using reflection.
    The following code snippets I've been using to get some feeling for the Entity Framework's internal functionality. Please don't ask what I'm using this for - at this stage it's just a test anyway.
    My code is supposed to remove the Contains() handler from Entity Framework, so a query like this shall fail:
    foreach (T1 a in (from x in ctx.t1
    where x.Name.Contains("Man")
    select x).DefaultIfEmpty()) if (a != null) Console.WriteLine(a.Name);
    However, I don't seem to be able to remove the Contains handler at run-time.
    Can someone please enlighten me on why this doesn't work?
    Here's the code I've been using (I've omitted as much as I could to make the code snippet small):
    using System;
    using System.Data.Entity;
    using System.Data.Entity.SqlServer;
    using System.Diagnostics;
    using System.Linq;
    using System.Reflection;
    using System.Reflection.Emit;
    namespace EF_Contains_Override
    internal class Program
    static private void removeContains()
    Type type = Assembly.GetAssembly(typeof(SqlFunctions)).GetType("System.Data.Entity.SqlServer.SqlGen.SqlFunctionCallHandler");
    FieldInfo fi = type.GetField("_canonicalFunctionHandlers", BindingFlags.Static | BindingFlags.NonPublic);
    object functionHandlerList = fi.GetValue(null);
    MethodInfo method = functionHandlerList.GetType().GetMethod("get_Item", new Type[] { typeof(string) });
    object origContains = method.Invoke(functionHandlerList, new object[] { "Contains" });
    method = functionHandlerList.GetType().GetMethod("Remove", new Type[] { typeof(string) });
    Debug.Assert((bool)method.Invoke(functionHandlerList, new object[] { "Contains" }));
    static private void Main(string[] args)
    Database.SetInitializer<EFContains>(new MyInitializer());
    removeContains();
    using (EFContains ctx = new EFContains())
    foreach (T1 a in (from x in ctx.t1
    where x.Name.Contains("Man")
    select x).DefaultIfEmpty()) if (a != null) Console.WriteLine(a.Name);
    Console.WriteLine("Press any key to continue ...");
    Console.ReadKey();
    Given the following seed, the above select should throw an exception because a Contains() handler no longer exists:
    using System.Data.Entity;
    namespace EF_Contains_Override
    public class MyInitializer : DropCreateDatabaseAlways<EFContains>
    protected override void Seed(EFContains context)
    context.t1.AddRange(new[] { new T1("Hey Man"), new T1("No, woman, no cry") });
    context.SaveChanges();
    Still people out there alive using the keyboard?
    Working with SQL Server/Visual Studio/Office/Windows and their poor keyboard support they seem extinct...

    Hello BetterToday,
    With your provided code and the resource code of Entity Framework downloaded from
    here, I created a similar query with yours:
    using (DFDBEntities db = new DFDBEntities())
    var result = (from o in db.TestTables
    where o.TestName.Contains("1")
    select o).ToList();
    With the resource, the all method are called to help generate the T-SQL are:
    SqlGenerator.GenerateSql, SqlGenerator. VisitExpressionEnsureSqlStatement, SqlGenerator. VisitFilterExpression,
     and in the SqlGenerator.Visit, we see that it converts the Contains to the Like filer and then it called method is WriteSql, we can see that the static class System.Data.Entity.SqlServer.SqlGen.SqlFunctionCallHandler is not called, so it
    would does not affect query even after removing the contains method.
    After searching more, my consult is that for methods as Contains/StartWith/EndWith and some other methods could be translated to TSQL directly, this behavior are by designed.
    You could try with other method as the 'TOLOWER' as:
    static void Main(string[] args)
    try
    #region https://social.msdn.microsoft.com/Forums/en-US/82aaca54-f1cd-47d3-b97c-254ec7b3e8bf/cant-remove-contains-handler-from-sqlfunctioncallhandler-why?forum
    removeContains();
    using (DFDBEntities db = new DFDBEntities())
    var result = (from o in db.TestTables
    where o.TestName.ToLower() == "1"
    select o).ToList();
    #endregion
    catch (Exception)
    static private void removeContains()
    Type type = Assembly.GetAssembly(typeof(SqlFunctions)).GetType("System.Data.Entity.SqlServer.SqlGen.SqlFunctionCallHandler");
    FieldInfo fi = type.GetField("_canonicalFunctionHandlers", BindingFlags.Static | BindingFlags.NonPublic);
    object functionHandlerList = fi.GetValue(null);
    MethodInfo method = functionHandlerList.GetType().GetMethod("get_Item", new Type[] { typeof(string) });
    object origContains = method.Invoke(functionHandlerList, new object[] { "ToLower" });
    method = functionHandlerList.GetType().GetMethod("Remove", new Type[] { typeof(string) });
    Debug.Assert((bool)method.Invoke(functionHandlerList, new object[] { "ToLower" }));
    It would throw an which says “{"'TOLOWER' is not a recognized built-in function name."}” I think it is you except.
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Unit Test Framework Bug: Removing a test vector file causes LV to crash

    Labview 2010 f2 crashes every time I try to remove a test vector file from a project.
    Repro:
    1. Start Labview and open a new project.
    2. Save the project.
    3. Right-click My Computer and select New -> Test Vectors
    4. Right-click the new file (Untitled.lvvect) and select Remove From Project
    I've tried various combinations of renaming the test vector file, trying multiple vector files, etc., but the end result is the same.  LV always crashes when I try to remove the vector file from the project.  LV crashes when I try to remove it even if I delete the vector file from disk before loading it from disk.  The only way I can remove a vector file from a project once the project has been saved is by editing the .lvproj file directly.

    Update:  I believe the last error is a different issue.  I was able to narrow the error down to a specific library and generate some error logs.  That library hasn't had any code changes in over a month.  The error logs point to something in the f2 patch, which I installed last Thursday.  Unfortunately there doesn't appear to be any way to uninstall the patch.
    I can send the guilty code via email or ftp if you need them.
    Attachments:
    lvlog2010-11-03-11-12-03.txt ‏6 KB
    lvlog2010-11-03-12-00-02.txt ‏4 KB

Maybe you are looking for

  • How can you get itunes to recognize your ipod?

    i already installed itunes and everything.After I plugged the ipod in and it just wont recognize it. Im desperate

  • Open Browser Window - Not working correctly.

    I click the thumbnail on my homepage, I get a larger image in a new window. Unfortunately, the homepage also redirects itself to the larger image. You can see this at www.real9.com I want the homepage to stay where it is, but the larger window to ope

  • RC and Multiple Monitors

    2012 R2 So we are using Remote control but not useful on systems with multiple monitors, is there a way to make it work like "Offer Remote Assistance" does? Thanks.

  • Cant deploy WAR although everything looks fine

    Recently I had to create a large (~150MB) WAR file that comprises of multiple JARS in the WEB-INF /lib as well as al the other files required to deploy the app. However, and heres the problem. I think i have succesfully created the WAR, it can be nav

  • Contribute shows blank page when in edit mode.

    I have installed Contribute for a friend so that they can update their website. We can connect fine - but when we try to edit the page contribute just gives a blank screen (white page) this happens on every page of the website that is tried. The guy