Using functions to clean up data

The following functions can be useful to 'clean up' data that is 'dirty' after importing:

  • TRIM(string): removes leading and trailing spaces (which seems to be a leading cause of data import problems.
  • LEFT(string, # of characters): returns the first x characters of a string.
  • VALUE(string): converts a text argument to a value.
Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish