Bump,

Is there a way to obtain the length of a string?

It appears to be coming in 5.1.20 but before ?

For example if there was a length operator I could do this 
{{{ [length{!!caption}] }}}

Placing it in the size= parameter of edit-text widget would be great.

Regards
Tony


On Thursday, May 30, 2019 at 10:27:29 AM UTC+10, TonyM wrote:
>
> Hi,
>
> I am using the edit-text widget to edit fields. I am using tag=input and 
> it is possible to set the size of the field in number of characters. The 
> default is 20 (HTML doco)
>
> However I would like this size to be set to the length of the value 
> contained in the field, or ideally only if it is greater than already set.
>
> Does anyone know how to do this please?
>
> Tony
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/786bc738-82c8-421a-a73d-6a7bb03586d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to