Trim non-breaking space

I have got some columns imported with leading non-breaking space (chr(160)) when I imported them from excel. I need to clean it up. How do I trim the non-breaking space out of the column.
I tried replace(column, chr(160), '') but that did not work. Can anyone help me with this? Any help is greatly appreciated.

I tried replace(column, chr(160), '') but that did not work.are you sure it is chr(160) then? replace should work though:
SQL>  with t as (
select chr(160) || ' other text' s from dual
select length(s) length_org, length(replace(s,chr(160))) length from t
LENGTH_ORG     LENGTH
        12         11

Similar Messages

  • Nokia 2710 navigator - non-breaking spaces possibl...

    Hi there, this has been driving me nuts, and it seems like there should be a way to do it! I can format a message in the editor with spacing and it looks perfect, but the spaces are being trimmed it seems! Either before or after sending! Is there a way to make sure the receiver sees my formatting, or does it depend on the properties of his/her phone? (i.e. I don't know if my nokia is trimming before sending or if the receiver's phone is). If I send one to my inbox, the spaces are trimmed as well. Failing that, is there a way to insert a proper non-breaking space (ala html's   ) into an sms? I've googled so hard and no luck!! Basically I wanted to make a creative "ascii art" style msg, and I can't really do it without this...
    Thanks in advance for any possible solutions!!!

    THere is no non-breaking space - this si not a limitation of your particular phone, it is a limitation of the SMS service in general.
    You can insert a graphical smiley into the message by selecting Options>Insert symbol>Smiley then choose from the list of available smileys.

  • How to insert a non-breaking space in a reference page?

    Hello all,
    Is it possible to insert a non-breaking space in a reference page? I want to control the TOC numbering so that page numbers don't break at the hyphen:
    In my reference page, I have the following TOC definition:
    <$paratext> <$chapnum>-<$pagenum>
    Replacing the hyphen with \+ doesn't seem to work.
    Thanks!
    Sue

    Sue,
    The sequence \+ is used in dialog boxes. Try typing the nonbreaking hyphen as
    Esc hyphen h
    Press the keys in sequence. Do not hold the Esc key down while you type the others.
    A nonbreaking space is
    Esc space h
    OR
    Control+space
    Hope this helps,
    Van

  • Non-Breaking Spaces in Structured FM9 Make a File Invalid

    Hi All,
    I'm working with Structured FrameMaker to author XML and I'm facing a problem that I've never had with FM 7.2: if I have a non-breaking space in a variable definition, when FM saves the file, it replaces the non-breaking space with the character code 0x11. I get the error message that states the file contains invalid characters. Worst of all, I can't reopen this file any longer with FM...
    Is there any solution or workaround? For me it's a crucial issue as it just doesn't allow me to continue using FM for XML.
    I'll appreciate any advice. Many thanks in advance,
    Alex

    Hi Michael,
    Thank you for answering. I installed the patch you mentioned, but it doesn't seem to work. The problem I describe still persist.
    Is there a way to make it work? It's very critical to us as this doesn't allow us to keep using FrameMaker...
    Thanks in advance,
    Alex

  • Using non-breaking spaces in attributes

    Hello all,
    I am writing reusable modules in Structured FrameMaker. Part of the reusability comes from using a variable instead of a hard-coded machine name, so that the machine name does not require variants of the same text. Using the standard FrameMaker variables is out of the question, so I have introduced a BookVar element that takes an attribute to determine which value is selected. All possible attribute values for the BookVar element lead to an attribute of the Book, which is the highest element in my publishable document.
    The problem is, that the name of the machine may contain a non-breaking space. I can enter the non-breaking space as the attribute value in the Book element, but when the BookVar that receives its value from the Book attribute is resolved the name does not contain the non-breaking space anymore. Is there a special character code that I can include in the value of an attribute ?
    Thanks in advance for your solutions
    Jang

    Hello again Michael,
    I tried the \x05 and it works like a breeze ! Thanks again.
    Apparently I was mistaken in assuming that I can suppress hyphenation via Text Range formatting, at least not if I want to keep my EDD free of any direct formatting. I can assign a character format, but in the Character Designer there seems to be no option to suppress hyphenation. This is handled on the paragraph level, and I do not want to suppress hyphenation for the entire paragraph just to keep my machine name from being cut down the middle.
    As I am not using roundtripping to XML for this client, the trick with the \x05 in the attribute value, combined with the Alt-0160 for the non-breaking space, does exactly what I need it to do. If I need to get into roundtripping later, I will have to find some kind of trick to preserve the suppressed hyphenation - probably by introducing an extra attribute in the BookVar element that controls it (and then gets translated into the correct preceding \x05 code by the Read-Write rules).
    Anyway, I already owed you a free dinner in Amsterdam, so now the drinks will be on me, too ! 
    Ciao
    Jang

  • Non-breaking space in dynamic data

    Hi all,
    I am building an org chart using a databound table. Each individual should be indented to their org level. I tried adding a series of non breaking spaces (in the java layer) to the person's name to get an indent but uix encodes the & upon publish and the non breaking space doesnt work. Any ideas on how to prevent the & from being encoded? I also tried using a databound spacer element but the spacer element doesnt allow databinding on its width property...any ideas welcome.
    thanks
    Rachel

    In Java, a non-breaking space is "\u00a0", not " ".   is an HTML thing only.
    Also, <spacer> definitely does allow databinding on width.

  • Remove non breaking space in cells

    Hi everyone,
    is there a way to remove the non breaking space tag "&nbsp" from the cells when the table is exported to excel?
    regards,
    Dionisios

    When the report is exported to excel, all the empty cells have the value " ". This is an HTML specific code that implies a non breaking space. This however creates a problem sometimes when users try to summarize columns or rows. I just wanted to know if there's a way of avoiding to get this HTML specific code in the export xls.
    regards,
    Dionisios

  • Mail And Non-Breaking Spaces

    I posted a topic some time ago and had zero (0) answer to it. Here it is once again.
    Mail doesn't know what to do with non breaking spaces (alt-spacebar). It simply ignores them. The right encoding is there all right (I checked) but Mail acts exactly as if it were an ordinary space.
    This forum treats those non breaking spaces correctly. TextEdit treats them correctly. But Mail doesn't and hasn't done for several year now.
    This is a major irritant in French, where the rules of typography dictate such a space before all high punctuation (question mark and all that).
    Does somebody know something about this, and why Mail behaves like such a bad guy?
    RTP, annoyed

    Sir:
    I know perfectly well that (almost) nobody works for Apple here. This being said, before sending a bug report, it's common procedure to try and see if others have met the same difficulty. It would be quite nice indeed if you tried to reproduce what I observe and tell me that yes, it seems to be a bona fide bug, or no, you do not observe it and then I must see if something is wrong with my system instead of reporting a bug which is not a bug.
    I invite you to take a look at my unanswered questions. You may ask yourself why so few people answer topics nowadays. If you look at my "answered" questions, see the number of them that I solved by myself because very few people chimed in. There is one reason for this, but I do not want to enter this debate once again.
    This was kind of you to give me the proper references for bugs, even if I knew them already, which you could not know, as I have reported several bugs in the past.
    In the mean time, I will continue to try to find a work around for this problem, and what is as important, how my posts are received in Entourage, Windows, or web-based email systems. I will then report my findings in this same topic.
    Thank you for taking the time to answer my post.
    Regards,
    Roger Gauthier aka RTP, The Photographer Who Came From The Cold
    Sainte-Sophie, Québec, où il fait bon vivre

  • Is there a Non Break space or Keep with?

    Is there a "Non Break space" or "Keep with next word"?
    In a data merge scenario some records need to stay together such as <<Year>>.<<Make>>  and Vin <<VIN>>
    Is there a character to keep these together?
    ID CS5.5

    You could make the spaces between them non-breaking, (rt-click > Insert White Space > Non-Breaking Space), or apply a no-break Character Style to the fields and the spaces between them.

  • Inserting non-breaking spaces between specific word combinations

    Hi all,
    I'm a bit of an InDesign novice, and need to work out an efficient way to automate a typesetting job. The story is that the work we're publishing is in the Maori language, and there are certain word combinations that are separated by spaces but need to be typeset so that they don't break across a line. When you import a doc file the line breaks can be anywhere, of course, and we've previously gone through and checked manually that all is well, with any changes that need to be made being done by hand (with changes cascading through the rest of the paragraph, of course). As you can imagine, this can be pretty time consuming, and it's all wasted if the client then asks for the font to be slightly larger etc.
    I'd like to help avoid this by running a script that finds and replaces the space between certain words with a non-breaking space. We're currently producing a list of the combinations where this will occur. Are you guys able to show me how to produce a script that will replace "word1[space]word2" with "word1[nbsp]word2", "word3[space]word4" with "word3[nbsp]word4"...?
    Thank you for any help you can offer!
    Stephen

    simplest way: use findChageByList script provided by Adobe.
    the syntax for the list should be like this:
    text[tab here not space]{findWhat:"word_one word_two"}[tab here not space]{changeTo:"word_one^Sword_two"}[tab here not space]{includeLockedStoriesForFind:false, includeLockedLayersForFind:false, includeHiddenLayers:false, includeMasterPages:false, includeFootnotes:true, wholeWord:true, caseSensitive:true, kanaSensitive:true, widthSensitive:true, ignoreKashidas:true, ignoreDiacritics:false}
    add as many lines as needed and adjust preferenecs to your likings.

  • Removing Non-Breaking Spaces En Masse

    A bunch of text I copied into a pages document is littered with lots and lots of non-breaking spaces (^ with a dot underneath it, showing up as an invisible).
    Does anyone know of a way to select the affected text and convert the non-breaking spaces into regular spaces? Or am I doomed to delete each non-breaking space mark and replace each with a regular space, one at a time, over and over again, ad nauseum (Satan make note)?

    Search & Replace is available to all of us.
    Type alt + space in the 'search' field
    Type space in the "replace' field
    Click "Replace All"
    Yvan KOENIG (from FRANCE jeudi 16 juillet 2009 15:29:41)

  • Non breaking space

    Does anyone know how to do the equivalent of MS word's non breaking space.
    trying to use this to keep things like phone numbers (with embedded spaces) from being split across 2 lines when using dynamic templates.

    Hi John,
    The unicode characters are sent as 0xA0 in the PCL output.
    ie. A\u+00a0.B goes to the printer as A B where the space is really a char(0xA0) - Non Breaking Space.
    We have a HP4600DTN here and this code also prints (in PCL5) to HP8150 and HP8550 printers.
    If you want to check if the output from your Central is different (make sure there are no obvious driver differences) we can compare or test the output file from a simple template. By examining the PCL output from yours and mine we should be able to determine if the fault lies with the printer or the output generation process.
    Looking at the sample output you gave:
    0800 4 Tower(0800 486 937)email
    It appears you are dropping a space before the left bracket and a comma and space after the left bracket. Is this correct?
    Terry

  • Non-breaking space in Adobe Muse

    Is it possible to insert non-breaking space in Adobe Muse?

    Hi,
    There is no direct way or Muse-specific keyboard shortcut to insert a non-breaking space.
    On Mac, I was able to insert it using Unicode Hex Input keyboard layout (see http://en.wikipedia.org/wiki/Unicode_input#Hexadecimal_code_input). Non-breaking space is 00A0. I would expect the corresponding Windows method to work too.
    That said, Muse exports a setting (word-wrap: break-word) that allows word breaks at normally 'unbreakable' positions. I haven't tested it, but I have a feeling non-breaking spaces will be defeated by this setting. May I ask what your use case is?
    Thanks,
    Abhishek

  • 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

  • Missing the non-breaking space

    On a Powerbook G4 12". In both MS Word and Nisus Writer Pro the 'option+spacebar' combination that should produce a non-breaking space does nothing whatsoever. The option key works fine in other combinations but not that one. As it's across applications, I have to assume the glitch is in the OS or hardware someplace. I've turned off Function keys, turned them back on, nothing's made the slightest difference.
    And the thing is, I don't see this phenomenon on my G5 tower, running the same apps and same flavor of OSX.
    Has anybody encountered this oddity? It's just bloody strange.
    Thanks,
    gf

    I turned up a conflict: Both Input Menu and Spotlight were using the key combo of Command+space, and CommandOptionspace. While neither of these was exactly the option+space key combo, fixing the duplication eliminated the problem.
    Very interesting! Command + Space is an important shortcut for other things, and for it to mess up Option + space is a major bug.
    There are some cases where NBSP will not work at all:
    http://m10lmac.blogspot.com/2008/01/work-around-for-mails-nbsp-bug.html

Maybe you are looking for

  • How to identify a point on mapview like Esri

    Hi I developed an application depend on Oracle Map JS api v1, my application have multilayer, when I click on the map view all FOIs attributes should posted on a div; i.e: I need to identify a point like esri do, can you help? kind Regards,

  • InDesign CS5 won't export to PDF

    I've been having a problem recently when exporting to PDF in InDesign CS5.  I get an error message which says: 1 problem was found with a background task: Export: "NameOfDocument" (1) It won't export to PDF.  What can I do about this?  Many thanks.

  • Safari 6.1 will not launch some pages

    Safari 6.1 will not launch some pages.  Stops searching as though it has loaded page, but screen is white. I have not downloaded any software recently, only s/w updates from Apple.

  • Quicktime Logo Display Whilst Loading Video Content

    We are currently building a HTML5 platform using VIDEOJS and have come up against an issue when using it on an ipad. We have several videos loading in a sequence which can be played when an icon is selected. The platform works perfectly on a desktop

  • Syndicate Classification data

    Hi Guru's How do we syndicate Vendor master Classification data?CREMAS IDOC doesnot show me any segments for this ..So does this need to be customised .. Any clues?? Regards Vikrant M Kelkar