ListItemTrim
Trims each item in the list.
Method Signature
Arguments
Argument
Type
Required
Description
Default
list
string
true
string list to trim each item
delimiter
string
false
string the list delimiter
,
includeEmptyFields
boolean
false
boolean whether to include empty fields in the returned result
false
Examples
Simple Example
Trims each item in the list.
Result: hello,world,this,is a,,example
Using as member function
Trims each item in the list.
Result: hello,world,this,is a,,example
Keep empty items in the list
Trims each item in the list and keep empty items.
Result: hello,world,this,is a,,,example
Additional Examples
Related
Last updated
Was this helpful?