Can anyone tell me what I need to do for this? Or if there are any other suggestions, I will be happy to try them. I need to get this working by end of day today, if possible.
proc TrimLeadingZeroes {n} {
if {[string length $n] == 0} {return “”}
set trimmed [string trimleft $n 0]
if {[string length $trimmed] == 0} {
return “0”
} else {
return $trimmed
}
}