Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
julball #1
Removing characters out of a field
I have a search screen and the user will be entering an isbn number to search.
Some users will enter dashes and others will not. My database field has dashes.
What I would like to see happen is that the data can be found whether a user
enters dashes or not.
julball Guest
-
Removing non-printing characters ...
Folks ... I have a pipe-delimited ASCII text file with a lot of different non-printing characters. Rather than try and figure out all the... -
Removing Commas From a field
Hello I have 2 fields that are name the same in different tables. One is called : ProductGrade.GradeID and the other is Parts.GradeID. now my... -
Removing paragraph mark in a field
Hi all I need some help please I am trying to remove the pragraph marks ^p in a text field called - advert.DescriptionDetails when... -
Removing special characters from a string
What's the best way to remove special characters from a string leaving just alphanumeric characters and spaces ??? -
Removing characters once a series stops
I have strings that I need to get the first set of numbers from. IE: ABC123DEF ABC11JH8KLZ I need to get 123 and 11 from the from the above... -
eastinq #2
Re: Removing characters out of a field
That is going to be hard to do, since the dashes may not be in the same
position in any given ISBN number. What about adding a second ISBN number
without the dashes in your database that is just used for searching? When the
user enters a number, just remove any dashes and compare with the ISBN search
version.
You could use LIKE for partial numbers.
WHERE ISBN_Searchable LIKE '%#Replace(FORM.ISBN,"-","","all")#%'
eastinq Guest



Reply With Quote

