Example & Tutorial understanding programming in easy ways.

How we can remove the white space from the left portion of the string ?

We use lstrip() function to do this.

Example:

s="  programming"   

s=s.lstrip()   //  "programming"

Read More →