Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
twodaend #1
Count Character In String?
I have various strings that will be returned from a query, but I can to be able
to remove the space and replace them with an underscore. For example:
String=This is a string
Result=This_is_a_string.
I tried the find function, but it only finds the first one. I want to be able
to find out that there are 3 space in this string.
Thanks for the help
twodaend Guest
-
Character count from Acrobat
Hi all, I am using the Acrobat 8 professional version. I am using various application to generate the pdf. My clients need the number of... -
Character count from mutiple bookmarks in multiple files
I have about 5000 pdf files that I need to get a character count on all the bookmarks. Is there a batch way to do this? I was assuming I would... -
count char in string
hy all, I am trying to find a php function that can count howmany times a specific char is in a string. for example: $string = "Hello world";... -
How to replace a variable string within /* variable_string */ with x for each character in string?
How to replace a variable string within /* variable_string */ with x for each character in string? The string may span on multiple lines. for... -
How do I count blocks of characters in a string variable?
I'm trying to create a code to count a certain character in a string, lets say that I want to know how many letters "o" there are in the text "The... -
-
twodaend #3
Re: Count Character In String?
Wow, that is exactly what I was looking for. I was making it harder than it
had to be. I was going to do a loop and replace each space, but your way work
10 time better and easier. Thanks for the help and the quick reply.
twodaend Guest
-
philh #4
Re: Count Character In String?
You should be able to use this function (with the DB-specific syntax, of course) directly in the query. Let the database do the data manipulation, then all you have to do is display the results.
philh Guest



Reply With Quote

