Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points |  Interaction Calls
Print Page as PDF
Routine: XLFSTR

Package: Kernel

Routine: XLFSTR


Information

XLFSTR ;ISC-SF/STAFF - String Functions ;04/18/12

Source Information

Source file <XLFSTR.m>

Entry Points

Name Comments DBIA/ICR reference
UP(X)
  • ICR #10104
    • Status: Active
    • Usage: Supported
    LOW(X)
  • ICR #10104
    • Status: Active
    • Usage: Supported
    STRIP(X,Y)
  • ICR #10104
    • Status: Active
    • Usage: Supported
    REPEAT(X,Y) ;
  • ICR #10104
    • Status: Active
    • Usage: Supported
    SPLIT(%SRC,%DLM,%VLIST) ;split a string by delimiter vars in list
    DVARS(LIST) ;return a delimiter for a list of variables
    INVERT(X) ;
  • ICR #10104
    • Status: Active
    • Usage: Supported
    REPLACE(IN,SPEC) ;See $$REPLACE in MDC minutes.
  • ICR #10104
    • Status: Active
    • Usage: Supported
    RE1
    RE2
    RE3
    RJ(%,%1,%2) ;Right justify
  • ICR #10104
    • Status: Active
    • Usage: Supported
    LJ(%,%1,%2) ;Left justify
  • ICR #10104
    • Status: Active
    • Usage: Supported
    CJ(%,%1,%2) ;Center Justify
  • ICR #10104
    • Status: Active
    • Usage: Supported
    QUOTE(%) ;Add quotes to value for concatenation
    TRIM(%X,%F,%V) ;Trim spaces\char from front(left)/back(right) of string
  • ICR #10104
    • Status: Active
    • Usage: Supported
    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.
  • ICR #10104
    • Status: Active
    • Usage: Supported

    Interaction Calls

    Name Line Occurrences
    Function Call: WRITE
    • Prompt: $$SENTENCE^XLFSTR("HELLO WORLD!!! THIS IS A CAPITALIZED SENTENCE. (this isn't.)")
    • Line Location: SENTENCE+4
    Function Call: WRITE
    • Prompt: $$TITLE^XLFSTR("THIS IS CAPITALIZED. (this isn't.)")
    • Line Location: TITLE+3
    Info |  Source |  Entry Points |  Interaction Calls