Is there a way to count the number of characters in a string? I want to limit the text strings characters with a check after they accept it in Keyboard Input.
Comments
gyroscopeI am here.Member, Sous Chef, PROPosts: 6,598
edited December 2012
Hi @FallacyStudios I'm almost certain that there's no way of checking amount of characters inputted with the use of the Keyboard Input behaviour, unfortunately...
If you made your own keyboard, then yes, i.e ---on the lines of-- (example in one of the letter keys --- "a")
When CharCount < 15 ---for instance Change Attribute WordUp to WordUp.."a" Change Attribute CharCount to CharCount+1
Comments
Hi @FallacyStudios I'm almost certain that there's no way of checking amount of characters inputted with the use of the Keyboard Input behaviour, unfortunately...
If you made your own keyboard, then yes, i.e ---on the lines of-- (example in one of the letter keys --- "a")
When CharCount < 15 ---for instance
Change Attribute WordUp to WordUp.."a"
Change Attribute CharCount to CharCount+1