CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Import (Moderator: Yashodha Chaku) »
  • Does CiviCRM Trim Trailing White Spaces for Fields Upon Import
Pages: [1]

Author Topic: Does CiviCRM Trim Trailing White Spaces for Fields Upon Import  (Read 516 times)

Shai

  • I post frequently
  • ***
  • Posts: 202
  • Karma: 8
    • Content2zero
  • CiviCRM version: 4.3.x, 4.4.x, 4.5.x
  • CMS version: Drupal 7
  • MySQL version: 5.5.x
  • PHP version: 5.3.x, 5.4.x
Does CiviCRM Trim Trailing White Spaces for Fields Upon Import
October 02, 2013, 09:34:42 am
Hi Folks,

I'm working on a migration with a dataset that has lots of trailing spaces, though usually not more than one space for any given cell on the spread sheet. For example, in a last name field there is "Cohen " where I only want "Cohen".

Of course I clean this data up in advance of importing. But I thought if Civi did this anyway I might save a step.

Shai
Don't miss out! Sign up now for free expert advice on CiviCRM's new StackExchange help site.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Does CiviCRM Trim Trailing White Spaces for Fields Upon Import
October 02, 2013, 09:36:46 am
I do not think CiviCRM does. It shouldn't either--maybe you want them there. :)
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Shai

  • I post frequently
  • ***
  • Posts: 202
  • Karma: 8
    • Content2zero
  • CiviCRM version: 4.3.x, 4.4.x, 4.5.x
  • CMS version: Drupal 7
  • MySQL version: 5.5.x
  • PHP version: 5.3.x, 5.4.x
Re: Does CiviCRM Trim Trailing White Spaces for Fields Upon Import
October 03, 2013, 08:07:45 am
@Hershel,

Thank you!

Shai
Don't miss out! Sign up now for free expert advice on CiviCRM's new StackExchange help site.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Import (Moderator: Yashodha Chaku) »
  • Does CiviCRM Trim Trailing White Spaces for Fields Upon Import

This forum was archived on 2017-11-26.