1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

A leading withespace in Hash-String is not included?

Discussion in 'Support' started by Alpengreis, Jan 15, 2016.

Tags:
  1. Alpengreis

    Joined:
    Jan 12, 2014
    Messages:
    229
    Likes Received:
    6
    From v19.0.31 Help for @MD5:

    But I have the same result with leading whitespace ...
    Code:
    echo %@md5[s,this is a string]
    93D64091ADF43E8FC0B74257AFD82FC3
    
    echo %@md5[s, this is a string]
    93D64091ADF43E8FC0B74257AFD82FC3

    A whitespace IN the string IS included ...
    Code:
    echo %@md5[s,this is a string]
    93D64091ADF43E8FC0B74257AFD82FC3
    
    echo %@md5[s,this  is a string]
    E29B4B55C39A2A3C74805CD3DD89769F
    

    Have I misunderstood the leading whitespace "thing"?
     
  2. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,804
    Likes Received:
    82
    The documentation is wrong. Leading whitespace is always removed in var functions.
     

Share This Page