Page 1 of 1
suggestion: Mid() with optional Length-Param
Posted: Wed Feb 08, 2006 2:01 am
by AL90
I think it is better when the Length-Parameter is optionaly.
In all the other Basics like BB and so on it is standard.
Re: suggestion: Mid() with optional Length-Param
Posted: Wed Feb 08, 2006 12:33 pm
by chris319
AL90 wrote:I think it is better when the Length-Parameter is optionaly.
In all the other Basics like BB and so on it is standard.
Agreed.
Re: suggestion: Mid() with optional Length-Param
Posted: Wed Feb 08, 2006 12:45 pm
by PB
Also agreed, and it's been requested MANY times with no result so far.

Posted: Wed Feb 08, 2006 1:05 pm
by Dare2
Your wish is my command ..
Code: Select all
Macro MidStr(str, start, chars = 0)
Mid(str, start, Len(str) * (Not chars) + chars )
EndMacro
Debug MidStr("ABCDEFG",2,2)
Debug MidStr("ABCDEFG",2)
Actually, I too would love a Mid with an optional third parameter. So I 4th the request.
Posted: Wed Feb 08, 2006 5:47 pm
by AL90
So i hope Fred will it do to change it.
