Ask a Question related to Macromedia ColdFusion, Design and Development.
-
xcoldnet #1
Number of Character of a string
how do you evaluate the number of characters that made a string? I have to
display the string present into a database field. The string is the result of a
cftextarea insertion. Unfortunately the wrapping of the text is lost, so the
original format of 25 chars by 5 lines became a long line of text. I wish to
evaluate the numeber of characters of the string so i can set a loop a put a
line break every 25 characters. Any idea how? Thank you, dario
xcoldnet Guest
-
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... -
First Character in a string
Hi all, Im wanting to set a filter based on the first character in a string, specifically a last name. Example: Form.Lastname is SMITH How can I... -
Inserting character by UNICODE number
How is this done? Inserting character from for example Glyphs pallette into text frame. In the older days you put ASCII code by alt + number on... -
textField width - Font size - number of character
I want to know if there's a function that returns a number of characters available in each line , knowing the textField width and the font size.... -
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... -
paross1 #2
Re: Number of Character of a string
The len("string") function returns the length of a string (or binary object)
paross1 Guest
-
xcoldnet #3
Re: Number of Character of a string
Thank you, meanwhile I studied the CFML reference and I found a nice function
called.... Wrap(string,limit) It insert a line break into the string at
'limit' interval being limit an integer. Unfortunately now my line of text is
displayed with white spaces every 25 charcters (I have set limit as 25) BUT
there is not carriage return, I wonder if there is something else to set. Any
idea? Dario
xcoldnet Guest



Reply With Quote

