To reach the end of a varchar

i want to remove last character of my varchar variable.
is there any command as to reach a char of varchar. such as charAt() in java.
so, i have a varchar variable. and its last character is ','. i must remove it. how can i do this?
thanx

What if indeed? That's not how I read the sentence otherwise I wouldn't have suggested it.
To me it sounds like I have a trailing comma at the end of my string, how do I get rid of it?
Clearly the OP is Java orientated and the Java String class doesn't appear to have an equivalent of the LTRIM functions (it has a trim method but that doesn't take the character to trim as an argument, it only does whitespace).
So makes me think that he might not be know that's the question to ask, because they have no equivalent
But yes, it may be. We can only hope the OP comes back and tells us.

Similar Messages

  • Is there a way to link text fields, so when you reach the end of one line it moves to the next?

    I often use Acrobat Pro to create forms, whether it be from an existing document or from scratch, and this has always irritated me.  I know you can create a text field and select the Multi-line option; however, this is not what I am looking to do.  I have a form that has a Yes or No Radio Button, then below it says "If yes, please explain:" followed by 3 lines to respond.  When I run it through the Form Creator, it places three text fields on the response lines - as it should.  The first line is shorter because of the text, which is why I cannot use the Multi-line option.  So is there a way to link these three text fields, so that when I reach the end of the first line it stops and automatically moves to the next? 
    Here is a picture of what I am looking at:

    These types of lines are a left-over from printed forms. There's no reason
    to keep using them if your form is digital.
    The best approach is to combine the fields to a single multiline field, and
    get rid of the first line. Trying to link text fields together is very
    tricky. I haven't yet to see it done properly.

  • I have an ipod touch 32gb. Model: MC008BT Version: 5.1.1. 3rd ed.   Recently when clicking play on any song the ipod will shuffle through as many songs as there are in the album or playlist until it reaches the end without playing any songs. It also does

    I have an ipod touch 32gb. Model: MC008BT Version: 5.1.1. 3rd ed.
    Recently when clicking play on any song the ipod will shuffle through as many songs as there are in the album or playlist until it reaches the end without playing any songs. It also does not go through each song. For example:
    a 62 song playlist. I start on song 16. Immediatly the song will shuffle: 16-26-54-62 and then back to the main screen. Also when the songs are shuffling the play button in the top right corner is on.
    Music will play if i start from track one with shuffle turned off and repeat turned on. But then i am limited each time to 1-5 songs.
    Ipod has been in excellent working order since this has happened.
    any suggestions on how to fix?

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Unsync all music and resync
    - Reset all settings      
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                 
    iOS: How to back up                                                                
    - Restore to factory settings/new iOS device.             

  • Im trying to install iTunes on my friend's Dell XPS, running windows vista ultimate (32-bit), but whenever I reach the end of the install, it pops up with an error telling me:   "Service 'Apple Mobile Device' (Apple Mobile Device) could not be instal

    Trying to install iTunes on my Laptop, running windows 7 (64-bit), but whenever I reach the end of the install, it pops up with an error telling me:
    "Service 'Apple Mobile Device' (Apple Mobile Device) could not be installed. Verify that you have sufficient privileges to install system services"

    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down the page in case one of them applies.
    The further information area has direct links to the current and recent builds in case you have problems downloading, need to revert to an older version or want to try the iTunes for Windows (64-bit - for older video cards) release as a workaround for performance issues or compatibility with third party software.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    tt2

  • Current Time code field and "Capture Now has reached the end of tape......"

    Hi I just got my new iMac and I have lots of space. When I open up the Final Cut Pro and press the capture now it gives me the notice that it had reached the end of tape, but I haven't reached the end. I have vhs in the VCR machine and it is connected through the digital device. Not only that but my current timecode field is always running and I can't stop it. Also I used the uncontrollable device and when the tape has reached the end I tried to escape but it seizes up and I lost my capture. what shall I do?

    Yeah, I was just thinking about that. I'm doing this on an iMac.
    What's going on with Capture Now? I know staying digital would be best. But I'm kinda doing this project to give myself some hands-on time with FCP to get familiar with it. I'd like to capture this stuff through the Log And Capture GUI if I can. Sooner or later, I'll need to do it with something else (possibly an old VHS tape) where I won't have the option of staying digital.
    Anybody?

  • Tab canvas disappear when the main stacked canvas reach the end of column

    Hi all,
    I have 3 canvas ( 1 main canvas, 1 stacked canvas ) and this link to 1 tab canvas. All these are in the same window.
    Whenever using the keyboard to press enter navigate from column to column and when it reach the end of the main canvas which is about to jump to the stack canvas, the two canvas ( stacked & tab ) was hide by itself. Even I have stated earlier to show all canvas in the pre-block trigger. when I keep on press the enter to jump to the next stacked canvas, this stacked canvas is being shown again. My tab canvas was not appear if I am press the enter key. However, if I press the arrow key down the tab canvas is appear. This I wasn't do any code to call the tab canvas.
    When I keep on press enter and reach the end of the stacked canvas again the tab canvas is disappear, unless I have press the arrow key down to display the tab canvas.
    Trying to use show_view( tab canvas ) in many trigger but still does not show the effect.
    Anyone has this experience before ?
    Thanks.
    Lim

    Hi Lim
    Pls check this hope it helps u to recognize dealing with muti-canvas in 1 window...
    how to use stack canvas in tab canvas in oracle forms
    Regards,
    Amatu Allah.
    Edited by: Amatu Allah on Sep 22, 2011 2:23 AM

  • Stacked contents disappear when reach the end of the field

    I have one content canvas and one stacked canvas, I have putting the show_view('canvas1') to show the stacked canvas in the when-new-form-instance. However, when I press enter on the first field in the content canvas, the stacked canvas disappear immediately and when the cursor jump from content canvas to stacked canvas the stacked canvas is shown. When I keep on press enter reach the end field of the stacked canvas and jump back to the content canvas, the stacked canvas is disappear again. And the cursor still keep on reside on the firs record / row without jumping to the next two of record. How do deal with this ?
    I need to shown the stacked canvas even the cursor back to the first content canvas and also I want the record to be jump into next row / record once it reach the end of the column.
    Thanks.
    Lim

    hi
    try something like this.
    GO_BOCK('BLOCK.ITEM_NAME');
    HIDE_CANVAS('CANVAS_NAME');
    SHOW_CANVAS('CANVAS_NAME');sarah

  • Automatic tab when reaching the end of a field with limited character number

    Hello!
    Is there a way of activating an automatic tab behaviour when the user reaches the end of a field with limited character number?
    I'd like the cursor to jump to the next field in tab order automatically.
    Possible?
    Thank you for any hints!
    Marcos

    Hi,
    What if you tried something like the following example? This works using formCalc on the change event for the field the user is currently typing into:
        var fullCount = 3
        var currentString = xfa.event.newText
        if(Len(currentString) >= fullCount)then
            xfa.host.setFocus("TextField2")
        endif
    Or, if you prefer javaScript:
        var fullCount = 3;
        var currentString = xfa.event.newText;
        if(currentString.length >= fullCount){
            xfa.host.setFocus("TextField2");
    These work very smoothly.
    Hope this helps!
    Stephen

  • Can't tell when i have reached the end of the file

    Hi i'm trying to read a character at a time from a file but i can't tell the program when to stop when it has reached the end of the file
    THis is the code
    BufferedReader br = new BufferedReader(new FileReader("input_dat.txt"));
    while ((c =(char) br.read()) != .....what should go here...)
         System.out.print((char)c);

    i got it to work
    hear is the code if anyone is interested .
    int i= 0;
    char c;
    BufferedReader br = new BufferedReader(new FileReader("input_dat.txt"));
         while((i=br.read()) !=-1)
         c =(char) i;
         System.out.print((char)c);

  • Jscrollpanel not able to reach the end while watching wth cursor

    Hello there, I don't know at compilation time how many lines I will have to take care of.
    Here, I can't reach the end of my table if too many lines, especially when my resolution is low 1024x...
    How can I avoid it please?
    I intentionnaly changed the class names.
    thank you
    http://img10.imageshack.us/img10/3012/toktoktoktoktok.th.jpg
    Here was the screenshot picture .
    Here is the code:
    www.seabova.com/a/code.java
    thank you

    I think that at this point you'll have to post some compilable code to the forum. I recommend that you create and post the smallest program possible that is compilable, runnable, demonstrates your problem, and has no extraneous code not related to the problem, an [SSCCE.|http://sscce.org] Please see the link for details on how to create one of these because trust me, if your SSCCE is compliant with the specs, you'll likely get a very helpful answer from someone here quickly.

  • HT204406 My iMatch is crashing every time is reaches the end of step #2 - checking all the songs in my iTunes library.  There are 4,389 songs to match, and when it reaches 4,388 songs checked and matched, it crashes and shuts downs iTunes altogether.

    My iMatch is crashing every time is reaches the end of step #2 - checking all the songs in my iTunes library.  There are 4,389 songs to match, and when it reaches 4,388 songs checked and matched, it crashes and shuts downs iTunes altogether.

    hi i had the same problem today when i updated my itunes to latest version. however, i have just found my songs in the 'itunes media' folder. this was accessed through 'my music'  then keep clicking through until you find itunes media and all my library songs were in there and i then just added these files to my library and all were restored however, i have lost all my playlists but at least my 700 songs are back. very dissapointed with apple that they have let this happen with their latest update, the previous version was miles better than this one . hope you find them. stevo

  • Fcp crashed when it reaches the end of tape

    When I 'capture now' HDV footage to FCP 6.0.3 using sony HDV firewire, FCP crashes when it reaches the end of the tape. Basically, I've been working around the problem by hitting 'esc' just before the end, but it sure is annoying. Anybody else? Any ideas?

    Are you using Capture Now or are you logging your clips then Batch capturing?
    -DH

  • Video goes back to menu before reaching the end of the timeline.

    Hi.
    I´m having a problem with a Double Layer DVD project in Encore CS3: a 1 hour 30 minutes video goes back to menu before reaching the end for no apparent reason.
    I don´t know if this is related to the layer break point of the DVD-DL. I just leave this setting in auto and burn the disc with Nero.
    Any input would be appreciated.
    Thanks.

    Well, I forgot to mention that I was burning the DVD disk with Nero, as I´ve read that Encore puts the layer break point in a weird way.
    But after burning the disc with other aplication, the problem disappeared, don´t know why.
    Sadly, now I have another different problems. I´ll open a different thread for them.

  • TS1372 Restoring my Ipod is not working. It restarts itself during the boot up process and the white bar under the apple logo is always so close to reaching the end but it restarts and tells me to restore it again.

    During the boot up process, the white bar under the apple logo is always so close to reaching the end but it restarts and tells me to restore it again. I have tried different usb ports and restarting computer but it wont work
    Ipod classic 120gb

    Have you tried restoring through iTunes?  If not, try pressing and holding the center 'Select' button and the top 'Menu' buttons together until it restarts.  Once you it restarts and you see the Apple logo, press and hold the left 'Previous' and center 'Select' buttons together to go into the diagnostics.  You can run tests through that and see if it's a hard drive issue or software issue.

  • HT1725 I have downloaded a movie and the downlaod has reached the end it will give a message saying "processing " and then it will start all over again . My pain I have spent so much on Internet data bundles  I can't afford to spend any more for just  one

    I have downloaded a movie  I purchased form iTunes and every time I get to the end of the download I will see a message "processing " and before i know it , the download will start all over again . My pain is i have spent so much money on the Internet data bundle almost twice the cost of the movie ! i can't afford to keep repeating this process , pls any ideas on how to get me out of this mess !

    can you stop the download completely? try to stop the download, delete the downloaded file and then re-downloading it. itunes should save your purchase so you won't have to pay every time you download.

Maybe you are looking for

  • Text in a concentric circle

    Hi I am trying to create a wheel similar to the image below except I need three segments instead of twelve. I also need a few lines of text for each segment but I'm not sure how best to insert this. I have tried using the 'Polar Grid Tool' and using

  • CollapsiblePanel, z-index and css

    Hi all hi have a problem with this link http://www.aubryhijazi.com/assurancex.htm on the left side panel I have a spy CollapsiblePanel. It work fine in IE but not with Safari, Opera or Firework. Thank you for the help

  • SsRandom or another way to get a random number

    In iDocScript, I need to get a random number between 0 and 4, or it could be between 1 and 5. I found ssRandom, but am unsure how to use that number to get the range I want. Any other ways or advice?

  • Upload files!

    Hi, I´m making an aplication where i creat coments and with the coment i wanted to upload a file. So i have the file table T_File{id_file, date, file, mime_type, filename, filesize,id_coment} T_coment{id_coment, coment,date,user} i have a form to cre

  • Backup notification issue 11GR2 RAC on Windows

    Hi all I have recently set up a full and incremental backup scheduled jobs. I can see in OEM that these have a Target Type of Cluster Database. I was wanting to set up notifications against these jobs, so went into preferences > notifications > rules