Sort String 2 issue
Hello,
I'm using the sort string 2 function to obtain the servername from a connection string that is read from the registry. The connection string looks something like "server=something;database=something;user=something;" so I am using ";" as the chunk seperator. It seems that using anything other than a white space " " as the chunk seperator will cause AdvStrSort function not to return the first chunk even though I specified the right chunk position (4th from end). For example: -
Push 4
Push 1
Push "This.is.a.test"
Call AdvStrSort
Pop $R2
And changing the chunk seperators to "." where specified in AdvStrSort function. It still returns "is" where I think it should return "This".
Thanks,
Howard