Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Declare @Data VarChar(8)
Set @Data = '00002400'
Select @Data -- '00002400'
Set @Data = Replace(@Data, '0', ' ')
Select @Data -- ' 24 '
Set @Data = LTrim(@Data)
Select @Data -- '24 '
Set @Data = Replace(@Data, ' ', '0')
Select @Data -- '2400'
Set @Data = Replace(LTrim(Replace(@Data, '0', ' ')), ' ', '0')
Set @Data = Padvalue(Replace(LTrim(Replace(@Data, '0', ' ')), ' ', '0'), 8, ' ')
Declare @Data VarChar(8)
Set @Data = '00002400'
Select @Data -- '00002400'
Set @Data = Replace(@Data, '0', ' ')
Select @Data -- ' 24 '
Set @Data = LTrim(@Data)
Select @Data -- '24 '
Set @Data = Replace(@Data, ' ', '0')
Select @Data -- '2400'
Set @Data = Right(' ' + @Data, 8)
Select @Data -- ' 2400'
Set @Data = Right(' ' + Replace(LTrim(Replace(@Data, '0', ' ')), ' ', '0'), 8)
Declare @Data VarChar(8)
Set @Data = '00002400'
Select Stuff(@Data, 1, PatIndex('%[^0]%', @Data)-1, Space(PatIndex('%[^0]%', @Data)-1))