-
Notifications
You must be signed in to change notification settings - Fork 36
Mid Function
Nilesh Ghodekar edited this page Jan 15, 2016
·
4 revisions
string Mid(value:string, start:int, length:int)
Returns a specified number of characters from a specified position in a string.
As is the case with any other WAL functions, the index is zero-based.
If the second input parameter (start index) or the third input parameter (length) is null, an exception is thrown. If the first parameter value is null or the length of the input string is less than start index, the function returns a null value. If the sum of start index and length parameter is greater than the length of the input string, the entire substring is returned.
1.0.0.0 and later
Mid([//Target/DN],2,4)
- MIMWAL Site - http://aka.ms/MIMWAL
- MIMWAL Releases - http://aka.ms/MIMWAL/Releases
- MIMWAL Documentation Wiki - http://aka.ms/MIMWAL/Wiki
- MIMWAL FAQ - http://aka.ms/mimwal/faq
- MIMWAL GitHub Code Repo - http://aka.ms/MIMWAL/Repo
- MIMWAL TechNet Q&A Forum (now read-only) - http://aka.ms/MIMWAL/Forum