Description
Builds a string of the specified length whose value consists of spaces.
Syntax
Space ( n )
Return value
String. Returns a string filled with n spaces if it succeeds and the empty string ("") if an error occurs.
Examples
This expression for a computed field returns 10 spaces in the computed field if the value of the rating column is Top Secret; otherwise, it returns the value in rating:
If(rating = "Top Secret", Space(10), rating)
See also
Space in the section called “Space” in PowerScript Reference