like below fixes the issue I am trying to use the following code to fill a list box with tag values. In the for loop I create the tag to insert into the list box. My question is how do I pad the tag name number with zeros? For example ValveName001 - ValveName120?
tag = "ValveName" & Right("00" & i, 3)
Cannot Call the Underscore.String Function `lpad` for Error `Uncaught TypeError: _.lpad is not a function`
I hope this helps . I want to call the function _.lpad('1', 2, '0') but chrome shows me that Uncaught TypeError: _.lpad is not a function. I already included the script tags in the HTML file like the following.
this will help I'm not sure why you're trying to format them your question calls for ordering. That's pretty simple. Just keep them as int.
WHEN area_name ~ '\d'
THEN (regexp_matches(area_name, '\d+'))::int
END NULLS FIRST,
AREA EXT 1
AREA EXT 5
AREA EXT 49
AREA EXT 50