Subject: | |
From: | |
Reply To: | |
Date: | Mon, 11 Jan 1999 15:38:56 -0500 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
At 1/11/99 03:07 PM , Tracy Johnson wrote:
>Is there a way to upshift a parm entered on a UDC?
>
>(No MPEX answers please, I want plain vanilla.)
>
>Tracy Johnson
>"Trust No One" - Semper Gumby
The UPS function will upshift a string.
If you just want to upshift a single parm, you can use the WORD function to
extract the parm, and then UPS to upshift it.
Below is an example.
CDA9 [13]: setvar mystring "Cmd Parm1 Parm2 Parm3 Parm4"
CDA9 [14]: echo ![ups(word("!mystring",,2))]
PARM1
CDA9 [15]: setvar yourstring ups(word("!mystring",,2))
CDA9 [16]: showvar yourstring
YOURSTRING = PARM1
CDA9 [17]:
I hope this helps!
John
--------------------------------------------------------------
John Korb email: [log in to unmask]
Innovative Software Solutions, Inc.
The thoughts, comments, and opinions expressed herein are mine
and do not reflect those of my employer(s), or anyone else.
|
|
|