What's the reason for the crash?
Is String2 Correctly filled before? (debug with an entity, which has a filled string2)
Is it a null pointer?

Please give more information about the error-message.