• initGetObject(): Preserving trailing whitespace?

    From Digital Man@VERT to Nightfox on Sat Jul 29 21:49:12 2023
    Re: initGetObject(): Preserving trailing whitespace?
    By: Nightfox to All on Sat Jul 29 2023 12:38 pm

    I'm using File.iniGetObject() in some of my mods to get settings from its configuration file(s). It seems it trims whitespace from the values, and I'm wondering if there's a way to have it preserve trailing whitespace from the values?

    Yes: https://wiki.synchro.net/config:ini_files#string_literals
    --
    digital man (rob)

    Synchronet/BBS Terminology Definition #68:
    SCFG = Synchronet Configuration Utility
    Norco, CA WX: 76.1øF, 69.0% humidity, 0 mph ESE wind, 0.00 inches rain/24hrs ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Nightfox@VERT/DIGDIST to Digital Man on Sat Jul 29 22:54:58 2023
    Re: initGetObject(): Preserving trailing whitespace?
    By: Digital Man to Nightfox on Sat Jul 29 2023 09:49 pm

    I'm using File.iniGetObject() in some of my mods to get settings from its
    configuration file(s). It seems it trims whitespace from the values, and
    I'm wondering if there's a way to have it preserve trailing whitespace from
    the values?

    Yes: https://wiki.synchro.net/config:ini_files#string_literals

    Ah, cool, thanks.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com