I have a table of CASRNs in a column named "CASNO". Because of how the outside program outputs CAS#'s they end up padded by leading zeros to a constant length. For example 50-00-0 is represented as 0000050-00-0. Depending on the length of the CAS number there can be one or 5 leading zeros.
Can I use the Java snippet (simple) node to remove the leading zeors? If so, can somebody help me assign the correct terms in the Global Variable Declaration and Method Body?
I am failing miserably due to lack of Java knowledge. I was not able to find the exact solution using the search function on the forum.