Clean Text

From UBot Studio
Revision as of 16:29, 14 June 2015 by LillyT (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This function is an Advanced Text function in the UBot Extended Library. This function will trim and replace multiple spaces with a single space.

Text to Clean: String being cleaned. Can also be a variable, list item, table cell or a function.

Example


alert($clean text("I Love   UBot   Studio"))


Running the alert command will produce the result, which is the sentence "I Love UBot Studio" with all unnecessary spaces properly trimmed.


Cleantxt.jpg

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox