Method String.width()
- Method
width
int(8)|int(16)|int(32)width(strings)- Description
Returns the width of a string.
- Returns
Three return values are currently possible:
8The string
sonly contains characters <= 255.16The string
sonly contains characters <= 65535.32The string
scontains 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.