SAP Knowledge Base Article - Preview

2631117 - How to trim leading zeros from a string

Symptom

You want to trim all leading '0' characters from a string. For example, from '000000001234567' to '1234567'


Read more...

Environment

SAP SQL Anywhere (all supported versions)

Product

SAP SQL Anywhere 16.0 ; SAP SQL Anywhere 17.0 ; SAP Sybase SQL Anywhere 12.0

Keywords

substring, patindex, length , KBA , BC-SYB-SQA-SRV , SQL Anywhere - Server , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.