Removing the under score '_'  from the beginning of the word

Hi
Please see the below problem,
with t as (
     SELECT     'OS_TEST_1'     AS dt
     FROM     dual
union
SELECT     'NET_TEST_2'     AS dt
     FROM     dual
select substr(dt,4) from t
Current Result-
TEST2
TEST_1
Expected Result -
TEST_2
TEST_1
Means, how to remove if any '_'(under score) coming in the starting of the word , and other places are ok to have the '_'
Thanks

with t as (
SELECT ' OS_TEST_1' AS dt
FROM dual
union
SELECT 'NET_TEST_2' AS dt
FROM dual
select substr(dt,5) from t
Note: Give  ' OS_TEST_1'  instead of  'OS_TEST_1' (notice one space between '  & OS)OR
with t as (
SELECT 'OS_TEST_1' AS dt
FROM dual
union
SELECT 'NET_TEST_2' AS dt
FROM dual
select ltrim(substr(dt,4),'_')  from tEdited by: Azhar Husain on Aug 5, 2011 2:38 PM

Similar Messages

  • Sharepoint 2013 : remove the word "pages" from tab in IE

    Hi,
    I would like to remove the word "pages" from tab in IE.
    How can I do it  ?
    Nikita.

    Detect the browser using jquery/java script
    http://www.sitepoint.com/check-ie-version/
    Get the current url into some variable .
    Do the string manipulations to remove the "pages" word

  • Remove the word alias from Aliases when moving to a specific folder?

    Title says it all. I am looking for a script to add to folder actions so that when I move an alias to a certain folder it removes the word alias from the end of it.

    Hi Spectre
    try the below
    on adding folder items to this_folder after receiving (added_items)
    tell application "Finder"
    set _files to (files of this_folder whose name ends with "alias")
    repeat with _file in _files
    set _name to name of _file
    set name of _file to (characters 1 thru -6 of _name as text)
    end repeat
    end tell
    end adding folder items to
    Budgie
    Message was edited by: Budgie

  • Can i remove the words "created in  trial version" from a file now i have purchased full version?

    Can I remove the wording " created in trial version" from a video now i have purchased the full version?

    Presumably a Premiere Elements question. For future reference note that Premiere Elements has its own forum and you should post further PRE questions there. But the answer to your question is in the PRE FAQ entry - http://forums.adobe.com/thread/433730?tstart=30.
    Cheers,
    Neale
    Insanity is hereditary, you get it from your children
    If this post or another user's post resolves the original issue, please mark the posts as correct and/or helpful accordingly. This helps other users with similar trouble get answers to their questions quicker. Thanks.

  • How to remove the words such as the, is , are, and or  from text file

    my problem is
    i want to make an application to do that
    eceives a test file from the user, this file contains a list of words , the program must do the following
    1- Remove the words such as the, is , are, and or
    2- Count the number of occurrences of each word
    3- Display a two column message, the first column contains a word and the second column contains the number of repetitions of this word
    i make number 2 and 3 how can i do number 1

    I would accumulate word frequency in a Map<String, Integer> -- is that what you are doing? But before processing a word I would check to see if it is contained in a Set<String> of common words. In which case further processing of the word is not required.

  • Remove the word "Total" in Row Totals in Pivot Tables

    Hi,
    Is it possible to remove the word "Total" that appears in Row Totals in Pivot Tables?
    Eg. If there are 2 Dimension Columns -- Year and Month .... and if we do row totals on Year
    The total appears as *'2008 Total'* or *'2009 Total'* etc. i.e. Each of the Values is followed by the word 'Total'.
    However, i would like the totals to display only the values '2008' or '2009' without the word 'Total'.
    Is this possible in OBIEE 11.1.1.5.0 ?
    Thanks,
    Ab

    Hi ,
    Goto Total -> Format label and type in @.This will remove the word"Total". I have tested this in 10g, try this and let me know if it works in 11g.
    Rgds,
    Dpka

  • Remove the words in user dictionary

    How to remove the words in user dictionary. Pl give me the solution. ASAP

    Hi Cenchen,
    please try this, should work.
    var myUserDictionaries = app.userDictionaries;
    var myCountDict = myUserDictionaries.count();
    for (var i = myCountDict-1; i >= 0; i-- ) {
        myUserDictionary = myUserDictionaries[i];
        var myAddedWords = myUserDictionary.addedWords;
        myUserDictionary.removeWord(myAddedWords);
    thanks,
    rajnikids.

  • Realy no one knows how to remove the word "java applet window" besides sign

    Hi, everyone,
    I am trying to remove the line "java applet window" from my nice/colorful interface, but what I was told is that I can not remove if i do not sign for digital singiture. Is this really a limition of Applet?
    I do not know why t he design want to add this stupid feature. As most people are not technical people, they do not care whether it is applet or not. For technical people, they should know that some thing popup from the browser and have a "java" sign on the right top corner is Applet.
    Only too sad about that.

    In the browser window, the address bar will also display the correct URL for the page being displayed.
    An applet window could spoof this address bar and otherwise mimic the look and feel of the browser (or any other application), thus tricking the user into believing the window to be legitimate.
    Just because there are already potential security/privacy issues in the applet specification, doesn't mean we want to open up another one! Why do you want an unsigned applet with a window without a warning message? You'll need a certificate anyway if you're planning on using secure communication - sending client data across an unsecure connection is rather less professional than spawning a window with a well-known and generally-ignored warning message.

  • How do you remove the words from beneath the mac logo while you're trying to log in?[urgent]

    Hi, I purchased an Imac 2005 G5 model from a local school some time ago, and now I have sold it, but the schools name and other text will not be removed from the login window. I do not have the original disks, I have already used cmd + s mount /uw / and other variations of that. I also tried opening terminal, and typing: sudo defaults delete /Library/Preferences/com.apple.loginwindow LoginwindowText I also tried resetting the open firmware and nothing! Nothing seems to be able to remove this, I would really appreciate it if someone could help me out with this. I will insert a link to a picture of what I'm talking about. http://tinypic.com/view.php?pic=15x1v06&s=8#.VMPEmCzazIV

    Use a compatible Mac OS X install DVD to erase the computer's internal drive and install a fresh OS. If you don't have one, buy a retail Mac OS X 10.5 DVD(10.4 may also work) from a source such as Amazon or eBay, or click here and order replacement original disks.
    (120906)

  • TS1702 Please I can not remove the viber icon from my iPhone 4s as it is a gray icon and have the word "waiting" under it and if I press long to have the (x) to delete it the (x) will not appear

    Please I can not remove the viber icon from my iPhone 4s as it is a gray icon and have the word "waiting" under it and if I press long to have the (x) to delete it the (x) will not appear

    Will it let you delete it on the phone now? If it still shows waiting, just tap it once on the app itself and it should download the rest  of the way. Do it while your on wifi tho.

  • Restrict Standard User from not removing the COM-Addins registered under HKLM with Admin rights.

    Hello,
    I have developed a COM-Addin for word 2013 by VS 2013 and installed it under the HKLM with Admin rights. Now from an non-admin account, ie Standard User I'm able to uncheck that addin from the COM-Addins dialog and remove it also. Previously I have done the
    same thing for word 2007 addins and if a non-admin user tries to uncheck it the warning "The
    connected state of Office Add-ins registered in HKEY_LOCAL_MACHINE cannot be changed" pops
    up. But this is not happening for office 2013 apps(basically word, excel and powerpoint). 
    This is happening for all Add-Ins installed under HKLM.
    How can a Standard User be restricted from unchecking and removing the Office Addins registered under HKEY_LOCAL_MACHINE with same warning "The
    connected state of Office Add-ins registered in HKEY_LOCAL_MACHINE cannot be changed" in
    a pop-up box?
    Regards, Sayan

    Hi,
    The behavior is changed since Office 2010. Office 2010 and Office 2013 allows a standard user to turn a per-machine add-in off by unchecking the add-in in the COM Add-ins dialog.
    To restrict Standard User from not removing the COM Add-ins, we can try to add the add-in to
    the Group Policy option: List of managed add-ins in the Office Group Policy template.
    Word for example, the policy is under:
    User Configuration\Administrative Templates\Microsoft Word 2013\Miscellaneous
    To enable this policy setting, provide the following information for each add-in:
    In "Value name", specify the programmatic identifier (ProgID) for COM add-ins, or specify the file name of Word add-ins.
    To obtain the ProgID for an add-in, use Registry Editor on the client computer where the add-in is installed to locate key names under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Word\Addins.
    To obtain the file name of an add-in, click the File menu in the application where the add-in is installed. Click Options, click Add-ins, and then use the Location column to determine the file name of the add-in.
    In "Value," specify the value as follows:
    To specify that an add-in is always enabled, type 1.
    Hope this helps.
    Regards,
    Steve Fan
    TechNet Community Support

  • How do I stop iTunes (10.7) from automatically launching upon restart?  "Open at Login" is NOT checked in the dock and I have removed the app from Login Items under Users/Groups.  I am using a MacBook version 10.7.5.  Thank you!

    How do I stop iTunes (10.7) from automatically launching upon restart?  "Open at Login" is NOT checked in the dock and I have removed the app from Login Items under Users/Groups.  I am using a MacBook version 10.7.5.  Thank you!

    Thanks for the response gakker, but I've double-checked the camera / iPhoto / Image Capture scenario, and I'm 100% positive it's got nothing to do with that.
    Plugging in my iPhone has no effect on anything related to this.
    The other thing I should have mentioned is that when iTunes on my Mac is NOT running, then nothing happens on my iPhone screen when I plug it in to my Mac. I only get the "Sync in progress" message when iTunes IS running.
    It's interesting though that you say you also get this "Sync in progress" message, albeit only for a second or two though.
    Can I just double-check something with you however... When you say:
    +"at no time was my iTunes playback interrupted"+
    do you mean the iTunes on your Mac? Because the problem I have is that the iPod-playback on my iPhone is interrupted.
    So can you clarify that for me, please? If you have music playing on your iPhone, and you then plug your iPhone into your Mac when iTunes is running on your Mac, does the music playback on the iPhone get interrupted?

  • How do I remove the application from your iPad at the same time and with the clouds?

    Hello,
    how can I remove the application from your iPad at the same time and with the clouds?
    I know you press the app icon until it starts shaking, then press the black cross in the upper left corner. This will remove it.
    But still I will come in to the store as a bookmark Purchated I see it with the symbol of a cloud. And I would like to remove it for good. Under iOS 5.1.1 somehow I managed to do that (at least hide it). In iOS 6 I can not do that.
    I greet

    The only transition you can add this way is default cross dissolve. If the images are in the timeline, move the playhead to the beginning of the images, select them all, and drag from the timeline to the canvas to overwrite with transition.

  • How can we remove the "Attack Site" warning from our webpage?

    We host several domains with Dreamhost. (1st mistake)
    Our account was hacked and is being resolved.
    We have taken our site down.
    When searching our url, our prospective customers will see an Explorer message which reads a Dreamhost message stating this website has been "voluntarily parked". Site coming soon.
    In Firefox, the Attack Site message in red is still showing. Can you please remove the message as our website is not available for public viewing?
    Thank you.
    RJ

    I get a status 200 with a message from the site that it is under construction. If I am using the correct URL (www.usana2013.co.za) maybe you need to clear your Firefox cache.
    The database of attack & phishing sites is not directly maintained by Firefox.
    See also
    *http://www.mozilla.org/en-US/firefox/phishing-protection/firefox2/
    *http://www.mozilla.org/en-US/firefox/features/#advancedsecurity
    *http://en.wikipedia.org/wiki/Google_Safe_Browsing
    ** http://www.google.com/tools/firefox/safebrowsing/
    **http://safebrowsing.clients.google.com/safebrowsing/diagnostic?client=Firefox&hl=en-US&site=http://www.usana2013.co.za

  • How to remove the Options and Task from the toolbar

    In the FLM portal initially we can see 'Options' in the menu bar after we log in. Below it there is 'Tasks' and 'Reports'. on clicking 'Tasks' and new menu bar 'Tasks' can be seen, under which 'New Tasks' option is there. When we click on 'New Forms' it shows the list of forms and when we select the desired form it opens the interactive form.
    My problem is when this form is opened on the header the 'Options' and 'Tasks' bar can be seen, under which the adobe menu bar comes (Print, Save, Zoom etc.) . This 'Options' and 'Tasks'  how to remove from the interactive forms page.
    Edited by: NIKHILKUMAR POOJARI on Feb 13, 2009 4:24 PM

    Dear Mano,
    By using Authorizations you can remove the Drag and Relate Menu
    Goto Administration ---> System Initialization -
    > Authorization -
    > General Authorization
    General -
    > Drag & Relate -
    > No authorization
    Regarding Authorizations, click the below link to get details
    [Define Authorizations|https://websmp205.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_HIER_KEY=701100035871000437965&_OBJECT=011000358700000481572006E&_SCENARIO=01100035870000000183&]
    Regards,
    Bala

Maybe you are looking for