http://ahkscript.org/docs/commands/index.htm
http://ahkscript.org/docs/commands/Trim.htm
Because google leads us to old command list where these functions are missing.
I looked about 1/2 hour but no trim function found. That's weird.
Can somebody write function trimLeft, trimRight or trim?
I tried this but then realized I don't know how to loop the string and refer it§s characters. It would be yet more complicated if it should consider Unicode characters...
Code: Select all
trimLeft(byref s, omitchars=" `s`n`r" ){
}