Find string at certain characters


This question already has an answer here:


You can use TrimStart() function to Trim the all inital Zero's

Try This:

           String str1 = "00000000000000000000523";

Need Your Help

value +1 after page refresh and database check

php html database loops mysqli

I have 4 checkboxes for example (Can be more can be less).

How to remove text between tags in php?

php regex string

Despite using PHP for years, I've never really learnt how to use expressions to truncate strings properly... which is now biting me in the backside!