|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Collecting Substrings
Hi,
I am using CF 4.1xxx. Database = Microsoft Access I have form variables for which I am attempting to identify similar records within database (ostensibly to prevent record duplication). So, I would like to chop up the string for which I am going to search for similar occurences so that I can identify already inputted abbreviations (example : input is edward, find like '%ed%) How do I get substrings of strings using CF? I want substring(start,end,string) , and am not finding a way to do this. Help appreciated muchly, Mike |
|
#2
|
||||
|
||||
|
Don't know if the function is in CF 4, but for version 6 you would use the mid function.
mid(string, start, count) |
|
#3
|
|||
|
|||
|
It's all in the docs (this is 5.0 but none of the string manipulation functions have changed that I am aware of).
__________________
Ask if you have a question, but also help answer questions that you have knowledge of! Thanks, Brian. How to Post a Question in the Forums |
|
#4
|
|||
|
|||
|
The thing about the docs is that while I am getting familiar, it is sometimes difficulst to know what function I need by its name (I had looked but didn't pick up on Mid)..
Thanks alot ! -Mike Quote:
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ColdFusion Development > Collecting Substrings |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|