Skip to content

Flow documentation · legacy product

RemoveLeadingZero ​

Declaration ​

Function RemoveLeadingZero( S : String) : string

Example ​

pascal
procedure OnMapEvent(var Value:Variant);
begin
  Value := RemoveLeadingZero('00000123'); //returns '123'
end;

Description ​

Removes any leading zeroes from S string. Converting a string with leading zeros will also remove them.