XLFSTR ;ISC-SF/STAFF - String Functions ;04/18/12
Source file <XLFSTR.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| UP(X) | 
 
  | 
|
| LOW(X) | 
 
  | 
|
| STRIP(X,Y) | 
 
  | 
|
| REPEAT(X,Y) | ;
 | 
 
  | 
| SPLIT(%SRC,%DLM,%VLIST) | ;split a string by delimiter vars in list
 | 
|
| DVARS(LIST) | ;return a delimiter for a list of variables
 | 
|
| INVERT(X) | ;
 | 
 
  | 
| REPLACE(IN,SPEC) | ;See $$REPLACE in MDC minutes.
 | 
 
  | 
| RE1 | ||
| RE2 | ||
| RE3 | ||
| RJ(%,%1,%2) | ;Right justify
 | 
 
  | 
| LJ(%,%1,%2) | ;Left justify
 | 
 
  | 
| CJ(%,%1,%2) | ;Center Justify
 | 
 
  | 
| QUOTE(%) | ;Add quotes to value for concatenation
 | 
|
| TRIM(%X,%F,%V) | ;Trim spaces\char from front(left)/back(right) of string
 | 
 
  | 
| SENTENCE(%X) | ;
 ; Converts a string into proper sentence case (first letter of each sentence ; upper case, all the others lower case) ; Example Usage: ; W $$SENTENCE^XLFSTR("HELLO WORLD!!! THIS IS A CAPITALIZED SENTENCE. (this isn't.)") ; produces ; Hello world!!! This is a capitalized sentence. This isn't.  | 
|
| TITLE(%X) | ;
 ; Converts a string into TITLE CASE format (first letter of each word is uppercase) ; Example Usage: ; W $$TITLE^XLFSTR("THIS IS CAPITALIZED. (this isn't.)") ; produces ; This Is Capitalized. This Isn't.  | 
 
  | 
| Name | Line Occurrences | 
|---|---|
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  |