Platforms to show: All Mac Windows Linux Cross-Platform
IsASCIIStringMBS(s as string) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
global method | String | MBS Util Plugin | 7.7 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
False if one of the characters of the string has a numeric value of 128 or higher. (-> string is not a 7 bit ASCII string)
True if all bytes are in the valid ASCII range.
See also:
IsASCIIStringMBS(s as string, mode as Integer) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
global method | String | MBS Util Plugin | 3.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Does not work for 16bit unicode strings.
But it works fine with UTF8.
Mode values:
0 | False if one of the characters of the string has a numeric value of 128 or higher. (-> string is not a 7 bit ASCII string) |
1 | False if one of the characters of the string has a numeric value >128 or <32. (-> string may not be printable in ASCII, which may require some kind of Base64 encoding to transfer it.) |
2 | False if one of the characters of the string has a numeric value below 32. (-> string may contain line breaks or other control characters) |
See also:
The items on this page are in the following plugins: MBS Util Plugin.