How can I in QGIS through Expression calculator remove leading zeroes i.e. the
0 leading from a string?
Something like the example above.
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It only takes a minute to sign up.Sign up to join this community
Simply you can use the
regexp_replace() function in the following expression:
regexp_replace("FieldName", '^0', '')
'^0' means select the
0 that is located at the beginning of string.
"FieldName" is the input field that you want to remove the zero from.
Here is the output: