Public Function StringWidth( _ ByVal vValue As Variant _ ) As Variant
StringWidth("This is a test.") = 15 StringWidth("Sm" + Chr$(8) + "ample") = 6See also:
WrapEachCharacter FunctionNote: The MetaPhone function is better at distinguishing words which are spelled differently but may sound alike.
vValue: The string whose printed width is to be determined. Function returns Null if vValue is Null or cannot be fixed up to a String.
Note: Function uses the built-in character classification routines to determine which characters represent carriage control codes.
Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.