APLX Help : Help on APL language : System Functions & Variables : ⎕DBR Delimited Blank Removal
|
|
![]() |
|
One-argument formUsed with character data to remove leading and trailing blanks and compress embedded multiple blanks to one blank. The argument must be a simple character vector or scalar. ⎕DBR ' JAN FEB MAR APRIL MAY ' JAN FEB MAR APRIL MAY Two-argument formA left-hand argument can be included. It defines a character or characters to be used as delimiters in the right-hand argument. Leading and trailing blanks, and blanks preceding and following the delimiters are suppressed. Unless the space character is included in the left argument, other blanks remain: '*' ⎕DBR ' X JAN * FEB MAR *APRIL * MAY Y ' X JAN*FEB MAR*APRIL*MAY Y '* ' ⎕DBR ' X JAN * FEB MAR *APRIL * MAY Y ' X JAN*FEB MAR*APRIL*MAY Y |
|
APLX Help : Help on APL language : System Functions & Variables : ⎕DBR Delimited Blank Removal
|
Copyright © 1996-2010 MicroAPL Ltd