It is currently Sat Jul 20, 2019 12:24 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Better example for LTrim() and RTrim()
PostPosted: Wed Mar 13, 2019 10:30 am 
Offline
Addict
Addict

Joined: Sun Sep 07, 2008 12:45 pm
Posts: 4256
Location: Germany
Hi,

the used examples does not show the real functionallity.

Original (which also contents a typo: Word instead of World):
Code:
Debug LTrim("     This is Art")  ; wird "This is Art" anzeigen
Debug LTrim("!!Hello Word", "!") ; Wird "Hello World" anzeigen


Better:
Code:
Debug LTrim("     This is Art     ")  ; wird "This is Art     " anzeigen
Debug LTrim("!!Hello Word!!", "!") ; Wird "Hello World!!" anzeigen


So the user can see the difference to the Trim() command.


Top
 Profile  
Reply with quote  
 Post subject: Re: Better example for LTrim() and RTrim()
PostPosted: Wed Mar 13, 2019 12:19 pm 
Offline
Addict
Addict

Joined: Mon Feb 16, 2015 2:49 pm
Posts: 1893
Good thinking!


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye