EnglishРусский  

Ads

Perfect Automation tool
All-In-One: Script editor, Launcher, Scheduler, Keyboard & Mouse Recorder. Try now!

CreateInstall
Freeware and commercial installers.

Cell Phone Batteries
Batteries Plus offers batteries for laptop, camcorder, cell phone, camera.

Gentee needs your help!
How to advertise with us
 
laptop battery

str.trim...

Trimming a string. Deleting spaces and special characters on both sides.

method str str.trimsys()

Return value

Returns the object which method has been called.


str.trimrsys

Deleting spaces and special characters on the right.

method str str.trimrsys()

str.trim

Delete the specified character on either sides of a string.

method str str.trim (
   uint symbol,
   uint flag
)

Parameters

symbol The character being deleted.
flag Flags.
$TRIM_LEFTTrim the left side.
$TRIM_RIGHTTrim the right side.
$TRIM_ONEDelete only one character.
$TRIM_PAIRIf the character being deleted is a bracket, look the closing bracket on the right
$TRIM_SYSDelete characters less or equal space.

str.trimrspace

Deleting spaces on the right.

method str str.trimrspace()

str.trimspace

Deleting spaces on the both sides.

method str str.trimspace()

Related links

Source

Edit