Converting from ONE CASE to another

2 Mar

Its very easy to convert text strings from uppercase to lowercase, (and vice versa), using the INSPECT verb.

This simple program populates a text string in uppercase, and then converts it to lowercase.

After the INSPECT statement, the value of TEXT-STRING is “this is a text string”.

And this simple program populates a text string in lowercase, and then converts it to uppercase.

After the INSPECT statement, the value of TEXT-STRING is “THIS IS A TEXT STRING”.

Super easy, right?

One Reply to “Converting from ONE CASE to another”

  1. your posts are fresh and really helpful Please write more. You have no idea who might get benefit from from it!

    Cheers

Leave a Reply

Your email address will not be published.