psql function to get substring from the last capital letter in a main string

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sivaroyal
    New Member
    • Jul 2012
    • 1

    psql function to get substring from the last capital letter in a main string

    For example: main String==> "FirstSecondThi rd"


    from the above string I need "Third" only.



    Can any help Pls.........
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #2
    You'll have to create a function to look at the ascii codes looking for the third capital. There's nothing built in that will do that for you.

    Comment

    Working...