Method String.width()
- Method width
int(8..8)|int(16..16)|int(32..32)width(strings)- Description
Returns the width of a string.
- Returns
Three return values are currently possible:
8The string s only contains characters <= 255.
16The string s only contains characters <= 65535.
32The string s contains characters >= 65536.
- Note
It is possible that a future version of Pike may return further values. In particular the width
7seems like it could be useful.
- Method width
int(8..8)|int(16..16)|int(32..32)width(strings)- Description
Returns the width of a string.
- Returns
Three return values are currently possible:
8The string s only contains characters <= 255.
16The string s only contains characters <= 65535.
32The string s contains characters >= 65536.
- Note
It is possible that a future version of Pike may return further values. In particular the width
7seems like it could be useful.