The difference between a field type of string and text | Community
Skip to main content
June 8, 2017

The difference between a field type of string and text

  • June 8, 2017
  • 1 reply
  • 52819 views

Issue Description

You want to know the difference between a field with the type of string and text area.


Issue Resolution

Both a string and text field will hold information that you can freely write in. The major difference between the two fields is how many characters you can put in these fields. A string field has a limit of 255 characters, whereas a text field has a character limit of 30,000 characters.

 

  • A string field is a good choice if you wanting to store data like address, names, or simple custom data.
  • A text area field is a good choice when you want to store information from something like a comment box on a form or if you are importing a large block of text.

Is this article helpful ?

YesNo


This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

SanfordWhiteman
Level 10
June 10, 2017

It's actually 65,535 characters, not 3,200. But in some client contexts, only 32,767 can be accessed, so you can treat the limit as 32K. But definitely not 3,200.

It should also be noted that when syncing to an SFDC long text field you must use a Marketo text field, and you should also treat the limit as 32,000 -- not 32,767. The SFDC datatype officially supports only 32,000 characters.