on 04-14-2015 7:12 AM
How to convert a filename which is being polled from a SAP directory into lowercase filename.. Ex. ABcd100115.xml to abcd100115
Hi Barrett
Welcome to SCN!
First of all, I assume you are familiar with ASMA, Dynamic Configuration and how to get/set the filename. If not, the first UDF in the following blog shows an example of the logic to get/set the filename.
To convert filename to lowercase, you just need to use method toLowerCase() of the String class. So for example, let's say you already have the existing filename in a String variable named filename. All you have to do is add the following logic.
filename = filename.toLowerCase();
Rgds
Eng Swee
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.