TXTW

n = TXTW (s)

Returns the text width of string s in pixel.

TEXTWIDTH is equivalent to TXTW.

Example

print txtw("Hello world")      ' Output: 88