BDO TOOLS  -  Replace Characters Rename Files Resize Images

The Replace Characters tool can be used to:

  1. Arrange the placement of prefixes
    User-defined 'prefixes' can be positioned:
    • At the start of a line
    • Before a parentheses-enclosed date
    • After a parentheses-enclosed date

    Example

    Using the four line example file below, when the user-defined prefix list contains The, Der, L' and Les and the user specifies that the prefixes are to be positioned before parentheses:

    Armée des Ombres (1969), L'
    Les Bas-Fonds (1936)
    The Third Man (1949)
    Untergang (2004), Der

    the Arrange tool will write a new file containing:

    Armée des Ombres, L' (1969)
    Bas-Fonds, Les (1936)
    Third Man, The (1949)
    Untergang, Der (2004)

  2. Replace characters
    Characters that have an ASCII value greater than 127 can be replaced with the character's:
    • Decimal numeric entity.
    • Hexadecimal numeric entity.

    Example

    If an input file contains the following lines:



    and the Replace, All, Chars, Dec, HTML options are chosen, the output file will contain:



    Note
    When the All control is selected, all of the characters that have an ASCII value greater than 127 will be replaced, not only those that are visibly selected.

  3. Recode numeric entities
    Numeric entities can be recoded from:
    • Decimal to hexadecimal.
    • Hexadecimal to decimal.

    Example

    If an input file contains the following lines:



    and the Replace, Entities, Hex, Text options are chosen, the output file will contain:


 
Copyright © 2017 Brian D. Ogilvie www.bdozone.com  :