How can I get string width?

Devin Asay devin_asay at byu.edu
Sun Mar 4 21:44:43 EST 2012


On Mar 4, 2012, at 7:42 PM, 吉野 孝 wrote:

> Hi, Experts!
> 
> How can I get string width?
> 
> I would like to string width…

Try the formattedWidth of [chunk]. For example:

  put the formattedWidth of word 2 to 5 of fld 1 into stringWidth

Hope this helps.

Devin

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University





More information about the use-livecode mailing list