User Tools

Site Tools


en:trim

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
en:trim [2017/09/08 01:39]
junior-root [Description]
en:trim [2017/09/08 02:40]
junior-root
Line 1: Line 1:
-===== Trim, LTrim, and RTrim (Function) ======+===== Trim (Function) ======
  
 ==== Format ==== ==== Format ====
  
-**trim** ( [[expressions|expression]] )\\ +**trim** ( [[stringexpressions|string_expression]] )\\
-**ltrim** ( [[expressions|expression]] )\\ +
-**rtrim** ( [[expressions|expression]] )+
  
 return [[stringexpressions|string_expression]] return [[stringexpressions|string_expression]]
Line 11: Line 9:
 ==== Description ==== ==== Description ====
  
-The Trim function removes all whitespace characters from both the beginning and ending of a string.  RTrim trims only the right end and LTrim only trims the left end of the string.+The **Trim** function removes all whitespace characters from both the beginning and ending of a string. 
 + 
 +[[RTrim|RTrim]] trims only the right end and [[LTrim|LTrim]] only trims the left end of the string.
  
 ==== Notes ==== ==== Notes ====
en/trim.txt · Last modified: 2020/02/28 10:46 (external edit)