Jump to content
C4 Forums | Control4
  • 0

String Variable Character Limit


mrjones1425

Question

1 answer to this question

Recommended Posts

  • 0
13 hours ago, mrjones1425 said:

I am curious if there is a character limit to what can be stored in a string variable.  If a condition is set in the programming tab to check if two string variables are equal, how many characters are being compared?

String data types are null terminated.  When compared, they are compared up to the first null encountered on either string.  (loop starting at index 0, loop till null encountered)

Maximum size is platform / language dependent.  

Link to comment
Share on other sites


This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.