String length field for STRING variables.

String length field for STRING variables.

Hello, colleagues!
I noticed that when I keep string length of STRING variable with it's value by default (5) my project in runtime works fine even I initialize such variable with strings much longer then 5 symbols lenght.
Question is, may I meet some troubles in future if I use string variables with string length value less then real lenght of their content?
In other words, can using string variable with string length = 5 for store long string values like "Copadata Zenon" lead to some runtime troubles (memory leakage or something like this)?

This is a migrated post! Originally posted on 09.01.2013 by user stolyarov_as. Please be aware that information can be outdated.