Extend


Functions have been removed in version 8.0.1. Use PadRight() functions instead.

Extend string to specified size filling it with specified character if nessesary.

You can find more information in comments below.

/**
    Extend string to specified length with specified character 
    @param str Wide character string 
    @param size Required string size 
    @param sym Character used to extend string 
    @return Wide character string with length size or greater(if str size was greater than size) 
    */
    String Extend(const String &str, const size_t size, const wchar_t sym);
/**
    Extend ansi string to specified length with specified character 
    @param str Ansi string 
    @param size Required string size 
    @param sym Character used to extend string 
    @return Ansi string with length size or greater(if str size was greater than size) 
    */
    AnsiString Extend(const AnsiString &str, const size_t size, const char sym);
Namespace: nitisa
Include: Nitisa/Core/Utils.h