Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: replacement for string_length() #48

Closed
AvioxArcade opened this issue Apr 14, 2020 · 5 comments
Closed

Request: replacement for string_length() #48

AvioxArcade opened this issue Apr 14, 2020 · 5 comments
Labels
feature 💭 It would be extra good if...

Comments

@AvioxArcade
Copy link

A way to get the length (numb of characters) of a scribble string without the commands would be nice.

I was hoping to just write a script that would grab _scribble_array[__SCRIBBLE.CHARACTERS] (or some other part of the scribble element array), but __SCRIBBLE.CHARACTERS doesn't include spaces in its count.

I can achieve what I'm needing with this estimate, but an exact string length without manually parsing would be nice.

@JujuAdams
Copy link
Owner

What are you using this value for?

@AvioxArcade
Copy link
Author

AvioxArcade commented Apr 14, 2020 via email

@JujuAdams JujuAdams added the feature 💭 It would be extra good if... label Apr 14, 2020
@JujuAdams
Copy link
Owner

JujuAdams commented Apr 14, 2020

I'll consider my options here. There's some knock-on effects if CHARACTERS starts including spaces, but equally I do kinda agree that CHARACTERS should be an accurate value that includes spaces.

@AvioxArcade
Copy link
Author

sounds good!

@JujuAdams
Copy link
Owner

__SCRIBBLE.CHARACTERS now counts spaces for v5.5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature 💭 It would be extra good if...
Projects
None yet
Development

No branches or pull requests

2 participants