Function Illustrate Values Class

IllustrateTwoAlt

"Illustrate Two Line Alternate" Illustrates the non-printable characters within a string using a symbol on the second line. Characters whose Asc(ii) value is >= 128 is illustrated with the corresponding Asc - 128 character.

Signature (Visual Basic / VBA)

Public Function IllustrateTwoAlt( _
    ByVal vValue As Variant _
    ) As Variant

Code Example

    ? IllustrateTwoAlt(EveryCharacterWithinRange(0, 63)) & "*"
    @ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_ !"#$%&'()*+,-./0123456789:;<=>?
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                                *
    ? IllustrateTwoAlt(EveryCharacterWithinRange(64, 127)) & "*"
    @ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~¿
                                                                   ^*
    ? IllustrateTwoAlt(EveryCharacterWithinRange(128, 191)) & "*"
    @ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_ !"#$%&'()*+,-./0123456789:;<=>?
    ||||||||||||||||||||||||||||||||--------------------------------*
    ? IllustrateTwoAlt(EveryCharacterWithinRange(192, 255)) & "*"
    @ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~¿
    ---------------------------------------------------------------|*

Parameters

Parameter Description
vValue The string whose non-printable characters will be illustrated. Function returns Null if vValue is Null or cannot be fixed up to a String.