Instr - Last Matching Position

Hi,
I have a string like this "\pos1\pos2\pos3\pos4"
From this, I want to search for the last '\' position and extract till end of the string, hence
it will be 'pos4'.
Can we do this using regular expressions, please give me the syntax using INSTR method or other ways.
Thank you.

845956 wrote:
Hi,
I have a string like this "\pos1\pos2\pos3\pos4"
From this, I want to search for the last '\' position and extract till end of the string, hence
it will be 'pos4'.
Can we do this using regular expressions, please give me the syntax using INSTR method or other ways.
Thank you.unwilling or incapable to Read The Fine Manual yourself?
http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/functions068.htm#sthref1467
why should we write here when already documented at URL above?

Similar Messages

  • ITunes 6.0.1.3 "forgets" last cursor position in the library

    Hi there,
    I've a minor issue with my iTunes library. When I'm comfortably browsing my library using the "Browse"-Button, switching to e.g. my CD in iTunes and after that returning to the library the last cursor position with selected title and/or album is lost. So anew I've always to navigate manually to the previous selected album which it's bit annoying especially when you've to manage a larger library.
    Any hints?
    Thanx!
    Steve
    5G 60GB (European version) Windows XP
      Windows XP  

    DEZ3124,
    I want to change the default location of the music libary, so I went through the edit | preferences | consolidate library processes...which seemed to work fine.
    This method will change the location of the iTunes Music folder but the the iTunes folder itself will be left behind in its original place: C:\Documents and Settings\user name\My Documents\My Music. This makes iTunes (and by extension will also make you) much happier and in this case you'll be well-advised to let it have its way.
    Note that all the actual music files you now have, as well as those you will add in the future(which take up the bulk of the space on your hard drive), will be in the new location. The iTunes folder will be left behind with the iTunes Library files which don't take up much space at all ... if that's a concern.

  • Is there a way to save the last curor position in Numbers?

    Is there a way to save the last curor position in Numbers? We have a custom Budget spreadsheet but every time we open the file, we have to scoll to the bottom of the spreadsheet.
    There are several thousand entries, and every time we open it, we have to scroll to the bottom of the screen which is getting fairly annoying.
    Every time we open it, regardless of what sheet or cell we are in when it is saved previously, it opens at the top....
    Any suggestions?
    Thanks!

    reverse the order of you entries and add rows at the top of the table.  That is have newest date entries at the top and oldest at the bottom

  • How to get last geo position, after 24 hours offline?

    I lost my iphone 5. Then i use the app "find my iphone". And it told that its offline, and i coudnt see the last geo position. How can I get last geoposition?

    Unless you installed a "finder" app that would upload that information there is no way to get previous locations.

  • Adobe Pro don't remeber last saved position

    Adobe Pro don't remember last saved position/folder.
    At this moment I have problem that Adobe don't remember were last saved PDF location is.
    Every time it comes up in default user Temp folder and I must go manual to correct folder.
    This started after last update
    I can't remember that I changed settings are there any setting for this?
    Rgds Sjef

    There is no such setting in Adobe Acrobat.

  • Remembering last opened position

    Numbers doesn't seem to be able to remember the last opened position of a spreadsheet. Whenever I close a large spreadsheet, and reopen it, it is never where I left it, but always several pages up. Is this something I am doing wrong? Or, is it not possible to remember the last position?
    Thanks.

    Thanks for the comments, but I still think it shouldn't be doing what it's doing. In Pages, the last position is displayed upon reopening the file even when there is zoom to 125% or 150%. In Numbers, only 100% will redisplay the last position. As a matter of interest, I've got round the problem by increasing the font size to a size readable at 100%. It is only a workaround as it is too large a size for my Macbook, and I keep the files in sync. However you can't win them all, so to speak!
    I must thank all of you who have replied to my query. I think this Forum is ideal, not only for direct answers, but also to get the grey cells working in different directions.
    Andy

  • Last Folder Position

    anyone know how to fix this? finder forgets last folder position!! i already trashed the finder plist and still no avail. no matter what program i am in - save as always goes to the user documents folder. i dont want that to happen! worked fine before the snow leopard update. please help!

    See if you have the problem in another account. Create a new User go to System Preferences >> Accounts >> "+" (make it an admin acct) and test the Finder in this new account, if it work the problem is isolated to your User and not systemwide. Either way we'll know what to troubleshoot.
    -mj

  • Audio Error : Mavericks and Motu 828x (IOAudioStream[0xffffff8028dc4c00]::clipIfNecessary() - Error: attempting to clip to a position more than one buffer ahead of last clip position)

    Hello i've got audio dropouts and clock hiccups with my Motu 828x and Mavericks.
    Brand new macbook pro i7 Retina 13".
    console display after a hiccup :
    IOAudioStream[0xffffff8028dc4c00]::clipIfNecessary() - Error: attempting to clip to a position more than one buffer ahead of last clip position
    Motu tells me to downgrade to 10.8
    Any help ?

    If MOTU says that its software is incompatible with Mavericks, then it is.
    Macs used for sound editing are often overloaded with third-party system modifications such as drivers. If that's the case with yours, you may have to make some hard decisions about what software you really need. You might have to create multiple startup volumes with different sets of software.

  • Can clips retain last playhead position and in and out points like v7?

    Is there a setting that will enable the clips to retain the last playhead position and in and out points so that I don't have to find the place I left off at every time I go to that Clip? Basically how FCP 7 worked.
    Vince

    This is another area that's lacking in this great application, I'm afraid - but there are ways to keep the 'in and out' points at least.
    When you have marked them you simply press 'F' to mark your selection as a favourite. Then if you click the green bar that appears, your selection will immediately be highlighted.
    Alternatively, add keywords to your selection - then when you click the keyword collection in the event browser, the clips will be displayed, already trimmed.
    A third way is to trim away the unwnated footage in your clip. Lets say you have a long clip and you want to make multiple clips from it. You don't want the first three seconds of the clip and you also don't want the last one second . . . (follow this carefully - it works)!
    Move the playhead to your IN point and press the 'O' key (yes the 'O' key).
    Now press the backspace key and your clip is trimmed to the 'in' point. Now scroll to the out point and press the 'I' key (that's right). Move the playhead to the 'in' point of your next clip and press 'O'.
    Press Backspace and your clip stands on its own for all time.
    (You can even mark one frame 'Out' and the very next frame 'In' and this will work - you don't lose any frames).
    Sorry I can't help you with retaining the playhead position.
    Andy

  • CS5 not remembering last window position

    I'm trying to get CS5 to remember the last window position (which is on my Cintiq) but it always defaults back to my main monitor on start up.  I've restored the default workspace which solved the problem at first, but now it refuses to remember the position again.  It's annoying having to reposition the window every time I relaunch Photoshop...
    Has anyone else encountered this problem?  I don't have this issue with CS4.
    I'm using Vista 64.

    Check your graphics card settings for application profiles. Such issues are 90% of the time related to window and dialog repositioning in the driver, not the app itself.
    Mylenium

  • How can I get Numbers to retain last opened position across my devices?

    I am a regular user of Numbers on my iMac (mid-2010), my iPad v3 and iPhone 5s.
    Ever since Mavericks came in and the many iWork updates that happened alongside it I have been unable to keep the same cell position in sync across my devices. So when opening one of my main spreadsheets it always opens at the top and I always have to scroll down to update my data.
    I don't remember this being a problem between iOS devices before that, it always went to the correct location. Until Mavericks I didn't sync with the Mac version as it was too clunky. They did a great job of fixing the sync part but lost this feature.
    Hope this makes sense. To summarise, my use case is that I open a large spreadsheet on any device to update it but it does not take me to my last entry, it goes to the top of the spreadsheet. That is not helpful to me, I want the last entry point regardless of idevice used to access it.
    Hope someone has an answer!
    Thanks.

    you cannot delete a post yourself.  You can flag the post an request a moderator remove.

  • Chunk expressions: Need the first and last char position from member.word[x]?

    I need to build a linear list of the string positions of the
    first and last character of each word in a string. For example if I
    have the string myPet = “DOG CAT FISH” then myList =
    [[1,3],[5,7],[9,12]]
    myPet.word[x] will let me access the individual words but
    I’m not sure how to get the char position of the beginning
    and end of each. Please help, it’s Friday and my brain has
    left for the weekend.

    Touche, Sean.
    "Sean Wilson" <[email protected]> wrote in
    message
    news:fqa8ap$bga$[email protected]..
    > Hi Craig,
    >
    > Your's fails if any word is repeated. Try it with "DOG
    CAT FISH DOG"
    >
    > This one seems to work, although there are probably more
    efficient ways to
    > go about it. A regular expression and the PRegEx xtra
    would certainly be
    > quicker, especially as the string gets longer
    >
    > on mGetWordBoundaries aString
    > -- basic error check
    > if stringP(aString) = 0 then return []
    > if length(aString) = 0 then return []
    >
    > lWhitespace = [SPACE, TAB, RETURN, numToChar(10)]
    > tStart = 1
    > tChar = aString.char[tStart]
    > repeat while lWhitespace.getPos(tChar)
    > tStart = tStart + 1
    > tChar = aString.char[tStart]
    > end repeat
    >
    > lPositions = []
    > repeat with w = 1 to aString.word.count
    > tEnd = tStart + aString.word[w].char.count - 1
    > lPositions.append([tStart, tEnd])
    > tStart = tEnd + 1
    > tChar = aString.char[tStart]
    > repeat while lWhitespace.getPos(tChar)
    > tStart = tStart + 1
    > tChar = aString.char[tStart]
    > end repeat
    > end repeat
    > return lPositions
    > end

  • Java Regex - Find Last Match Using Pattern and Matcher

    I'd like to write some regex which would allow me to grab the last occurance of match based on a specified list of items. So for:
    Pattern languageRegex = Pattern.compile("(len|end)");
    And a string of:
    "00| 0lend|"
    I want it to extract "end". However, I'd grab "len" using the above regex.
    If it was
    "00| 0lenend|"
    I'd grab "end" which is right.
    What regex would allow me to grab "end" rather than "len" from:
    "00| 0lend|"
    Thanks for your help.

    user3940995 wrote:
    I have a list of 3 letter codes that I need to check for in a field. The list is finite but about 100 or so items:
    len, end, ren, onm, enl, etc.
    However, the field I'm checking in has some other data in it which can bleed into the code but the code will always be at the end.
    An example would be "000 0rend"
    From this I'd want to extract "end". If there is a better way to do this than using regex then I'd be happy to use that, but as I have to process millions of items I'm keen to not loop trying to find a match so I was hoping there would be a regex solution.
    Your regex would work for that particular example. I think if I modify it to be
    Pattern.compile("len(?!\\D)|end(?!\\D)|enl(?!\\D)"); (which would then be extended for all the list items)
    Then I seem to pick up the last occurance as I'd like to.
    Thank you for your help!Doesn't sound like you want to use regexp. I would instead build a character graph/tree with my commands in reversed order. I would then search each line backwards and check if it matches something in my tree.

  • Camino : How to remember last scroll position on previous viewed page?

    I am switching from Safari to Camino. Sa far it was a good experience except one issue:
    When i scroll to half way of a page and click a link, i will be directed to the link within the same tab. After finished viewing the new link, i press the DELETE button to return to the previous page. Camino returns to previous page but not remembering the location, in this case which is the half way of the page. It just loads back the previous page and scrolls to the top again
    Is there any way to configure Camino to remember the last scroll location of the previous page?

    I'm not sure there's a way to do what you want, but if you select command click on a link "open in new window" in Camino prefs, you should have the original window and scroll position in place behind the new window.
    Hope this helps,
    Miriam

  • Possible to return to last scroll position automatically ?

    Every time I open a Numbers file it brings me to a point somewhere around the vertical middle. I always have to scroll to the bottom. (Excel brought me right back where I left off.) Is there a setting to allow me to return to the scroll position I was last in?
    Thanks.

    I'm guessing you are not at 100% zoom or are not saving the document.
    If not at 100% zoom, simply press one of the arrow keys and you'll get back to the place you were when you last saved (+/- one cell).
    If you are not saving the document each time you look at it, it will return to wherever you were when you last saved it.

Maybe you are looking for