pike.hubbe.net

[Top]
String
previousString.trim_whites() systemnext

Method String.width()


Method width

int(8..8)|int(16..16)|int(32..32) String.width(string s)

Description

Returns the width of a string.

Three return values are possible:

8

The string s only contains characters <= 255.

16

The string s only contains characters <= 65535.

32

The string s contains characters >= 65536.



Extracted from Pike v7.3 release 11 at 2001-11-03.