Don't click here unless you want to be banned.
LSL Wiki :
llStringTrim
HomePage
::
PageIndex
::
RecentChanges
::
RecentlyCommented
::
UserSettings
:: You are crawling22.us.archive.org
**##[[string]] llStringTrim([[string]] text, [[integer]] trim_type)##** Outputs a string eliminating whitespace from the start and/or end of the specified string. Constants for trim_type: STRING_TRIM_HEAD: trim all leading spaces in text STRING_TRIM_TAIL: trim all trailing spaces in text STRING_TRIM: trim all leading and trailing spaces in text In this case, whitespace can mean: - Spaces (ASCII 32) - Tabs (ASCII 9) - \t - New line (ASCII 10) - \n To eliminate all whitespace: __Example:__ %%(lsl)llStringTrim(" Testing 1 2 3 ", STRING_TRIM);%% __Output:__ %%(lsl)"Testing 1 2 3"%% To eliminate only the starting whitespace: __Example:__ %%(lsl)llStringTrim(" \tTesting 1 2 3 ", STRING_TRIM_HEAD);%% __Output:__ %%(lsl)"Testing 1 2 3 "%% To eliminate only the ending whitespace: __Example:__ %%(lsl)llStringTrim(" Testing 1 2 3 \n", STRING_TRIM_TAIL);%% __Output:__ %%(lsl)" Testing 1 2 3"%% ---- [[Functions]] | [[String]]
Valid XHTML 1.0 Transitional
::
Valid CSS
:: Powered by
WakkaWiki 0.1.2