Cancel
Showing results for 
Search instead for 
Did you mean: 

string constant too long error

Siemens Creator Siemens Creator
Siemens Creator

Hi, i'm getting the error "string constant too long" when trying to insert a 1300~ chars long string to a variable or to the method "splitString".

How can i surpass this error?

Thanks.

2 REPLIES

Re: string constant too long error

Siemens Phenom Siemens Phenom
Siemens Phenom

There is no limit for the string length. You just cannot enter such long string literals into the source code. Are you using the string inside the function "execute"?

_________________________________________________________________
Did you like the answer? Then click the Thumbs Up button.
Did the answer solve your problem? Then accept the answer as solution.

Re: string constant too long error

Siemens Creator Siemens Creator
Siemens Creator

Thanks, that was my problem indeed.