Adobe Community
All community
This category
This board
Knowledge base
Users
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results forÂ
ShowÂ
 onlyÂ
|
Search instead forÂ
Did you mean:Â
Global community
Language:
Deutsch
English
Español
Français
Português
日本語コミュニティ
Dedicated community for Japanese speakers
í•œêµ ì»¤ë®¤ë‹ˆí‹°
Dedicated community for Korean speakers
Sign In
Exit
Home
ColdFusion
Discussions
carrage return issue
Home
ColdFusion
Discussions
carrage return issue
0
Upvote
carrage return issue
KeithLaw999
New Here
,
/t5/coldfusion-discussions/carrage-return-issue/td-p/227473
Sep 14, 2007
Sep 14, 2007
Copy link to clipboard
Copied
hi i have a array which is set from a csv file, and then inserted into a table.
the problem i am having is the surname which is the first array is entering a carrage return before the text.
how can i remove this carrage return?
TOPICS
Advanced techniques
Views
257
Translate
Translate
Report
Report
Follow
Report
More
Reply
Reply
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
2 Replies
2
Jump to latest reply
Dan_Bracuk
LEGEND
,
/t5/coldfusion-discussions/carrage-return-issue/m-p/227474#M20234
Sep 15, 2007
Sep 15, 2007
Copy link to clipboard
Copied
Try it without an array. Loop through your datarec list instead. If you still get the carraige return, use the replace function to get rid of it. You've shown in your posted code that you know how to do that.
Votes
0
Upvote
Translate
Translate
Report
Report
Follow
Report
More
Reply
Reply
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
KeithLaw999
AUTHOR
New Here
,
/t5/coldfusion-discussions/carrage-return-issue/m-p/227475#M20235
Sep 16, 2007
Sep 16, 2007
Copy link to clipboard
Copied
LATEST
In Response To Dan_Bracuk
ok i need the array as i use it later in my code, so i tried this
'#replace(dataArray[1], '#chr(13)#', '', 'all')#'
but the carrage return stil appears before the text, any ideas how i can replace this?
Votes
0
Upvote
Translate
Translate
Report
Report
Follow
Report
More
Reply
Reply
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Post Reply
Preview
Exit Preview
never-displayed
You must be signed in to add attachments
never-displayed
Â
Resources
Documentation
ColdFusion User Guide