Description Usage Arguments Details Value Author(s)
This function removes initial zeroes from CAS numbers.
1 | trimzero(x, y)
|
x |
aCAS number. Defult is none |
y |
A dummy argument This helps with the removal of the zeros inteh CAS number |
Each CAS number has three parts, separated by underscores. The first part is up to seven digits, but optionally, leading zeroes are omitted. For example, formaldehyde may be either "0000050_00_0" or "50_00_0". SHEDS needs to match CAS numbers across input files, and trimzero is used to ensure matching even when the input files follow different conventions.
y a shorter CAS number. If the initial part is all zero (as in "0000000_12_3"), one zero is left in the first part (that is, "0_12_3" for this example).
Kristin Isaacs, Graham Glen
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.