Search Results for

    Show / Hide Table of Contents

    PadLeft

    Function Parameters Return value
    PadLeft string s, ``int totalWidth string

    Right-aligns the characters in the "s" string, padding with spaces on the left for a total width specified in the "totalWidth" parameter.

    Example:

    PadLeft("ABC", 5) = "  ABC"
    
    Function Parameters Return value
    PadLeft string s, ``int totalWidth,``char paddingChar string

    Right-aligns the characters in the "s" string, padding with "paddingChar" characters on the left for a total width specified in the "totalWidth" parameter.

    Example:

    PadLeft("ABC", 5, '0') = "00ABC"
    
    Back to top © 1998-2025 Copyright Fast Reports Inc.