This is a discussion on Hiding first number of characters. within the Database Support forums, part of the Web Development category; Hi all, I want to hide the first number of character in a string. For ex, If the string is ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Hi all, I want to hide the first number of character in a string. For ex, If the string is i_%dvinoth, suppose I want's to get vinoth only from that string,how could from SQL server?
__________________ S.VinothkumaR Behind me is infinite power, Before me is Endless Possibility, Around me is Boundless Opportunity, Why should I fear! |
|
#2
| |||
| |||
| Hey Vino! Use my coding... Code: SELECT REPLACE('i_%dvinoth', LEFT('i_%dvinoth',4),'') |
|
#3
| |||
| |||
| Vinoth, You can use the another way as following, Code: SELECT stuff('i_%dvinoth',1,4,'') |
|
#5
| |||
| |||
| Hi there, Thank you all....
__________________ S.VinothkumaR Behind me is infinite power, Before me is Endless Possibility, Around me is Boundless Opportunity, Why should I fear! |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Showing n Hiding DIV LAYER through JAVSCRIPT? | laksh_khamesra | Web Design Help | 1 | 09-09-2008 08:10 PM |
| Substituting Characters using different databases | srikumar_l | Database Support | 1 | 12-05-2007 06:33 AM |
| Substituting Characters using different databases | srikumar_l | Database Support | 1 | 12-04-2007 12:56 AM |
| How to Get the Right Characters of a string in sql server? | kingmaker | Database Support | 3 | 08-01-2007 08:07 AM |
| What's the easiest way to remove characters from the end of a string in php? | oxygen | PHP Programming | 1 | 07-26-2007 01:53 AM |
Our Partners |