• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

carrage return issue

New Here ,
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
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
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

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 16, 2007 Sep 16, 2007

Copy link to clipboard

Copied

LATEST
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

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation