View previous topic :: View next topic
|
Author |
Message |
satish kanamarlapudi
New User
Joined: 23 Jul 2008 Posts: 29 Location: Little Rock - Arkansas
|
|
|
|
Hi,
My requirement is that i need to remove dots '.' coming in front of the stirng. Plz help me out in this.
Example 1 :-
Input is :- .SANDERSON
I need to get output as SANDERSON by removing dots at first
Example 2 :-
Input is :- ..SANDERSON
I need to get output as SANDERSON by removing first 2 dots.
Thx,
satish |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
1. They may look like 'dots' to you, but they are probably unprintable char and are represented as 'dots', when you view the input.
2. what is the exact field definition of the input. are there always 1 dot or 2 dots or? what defines what characters are usable?
when you are in view or edit mode and looking at the input, use hex on to determine what your input. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
My requirement is that i need to remove dots '.' coming in front of the stirng. |
A slight correction. . . You need to understand "the dots" before you try to do anything with/about them.
I suspect that whether there is one or two dots, the space preceeding the "good data" is still 2 bytes (looks like some length attribute?). Does this string come from a file, a table, or somewhere else?
As DBZ mentioned, you need to provide some more info for someone to be able to help. |
|
Back to top |
|
|
|