-
Notifications
You must be signed in to change notification settings - Fork 36
RightPad Function
Nilesh Ghodekar edited this page Jan 8, 2016
·
2 revisions
string RightPad(input:string, length:int, padding:char)
Returns a new string that is equivalent to string specified in the first input parameter, but left-aligned and padded on the right with as many padding characters as needed to create the specified length.
If the second input parameter (length) or the third input parameter (padding char) is null, an exception is thrown. If the first parameter value is null, the function returns a null value.
1.0.0.0 and later
RightPad([//Target/DepartmentID],8,"0")
- 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