====== trim ====== (string) ===== Syntax ===== string trim(__unk %string); ===== Parameters ===== [[scripting:doc:engine:types:__unk|__unk]] **%%%string%%**\\ No description available. ===== Return value ===== [[scripting:doc:engine:types:string|string]]\\ No description available. ===== Remarks ===== ===== Examples ===== ===== Source ===== Engine ===== See also ===== [[scripting:doc:u:u:getcharcount|getCharCount]]\\ [[scripting:doc:u:u:getsubstr|getSubStr]]\\ [[scripting:doc:u:u:ltrim|ltrim]]\\ [[scripting:doc:u:u:rtrim|rtrim]]\\ [[scripting:doc:u:u:strchr|strchr]]\\ [[scripting:doc:u:u:strcmp|strcmp]]\\ [[scripting:doc:u:u:stricmp|stricmp]]\\ [[scripting:doc:u:u:stripchars|stripChars]]\\ [[scripting:doc:u:u:stripos|stripos]]\\ [[scripting:doc:u:u:strlen|strlen]]\\ [[scripting:doc:u:u:strlwr|strlwr]]\\ [[scripting:doc:u:u:strncmp|strncmp]]\\ [[scripting:doc:u:u:strnicmp|strnicmp]]\\ [[scripting:doc:u:u:strpos|strpos]]\\ [[scripting:doc:u:u:strreplace|strreplace]]\\ [[scripting:doc:u:u:strstr|strstr]]\\ [[scripting:doc:u:u:strupr|strupr]]\\ ===== References ===== [[scripting:doc:u:gameconnection:spectatenexttarget|GameConnection::spectateNextTarget]]: Add-Ons/Gamemode_Slayer/server/core/GameConnection.cs:597\\ [[scripting:doc:u:gameconnection:spectateprevtarget|GameConnection::spectatePrevTarget]]: Add-Ons/Gamemode_Slayer/server/core/GameConnection.cs:678\\ [[scripting:doc:u:u:servercmdaddlives|serverCmdAddLives]]: Add-Ons/Gamemode_Slayer/server/core/GameConnection.cs:950\\ [[scripting:doc:u:u:servercmdmessagesent|serverCmdMessageSent]]: Add-Ons/Gamemode_Slayer/server/core/GameConnection.cs:996\\ [[scripting:doc:u:u:slayerteamcmdaddmember|slayerTeamCmdAddMember]]: Add-Ons/Gamemode_Slayer/server/core/Slayer_TeamHandlerSG.cs:583\\ [[scripting:doc:u:u:slayerteamcmdremovemember|slayerTeamCmdRemoveMember]]: Add-Ons/Gamemode_Slayer/server/core/Slayer_TeamHandlerSG.cs:621\\ [[scripting:doc:u:u:slayerteamcmdjoin|slayerTeamCmdJoin]]: Add-Ons/Gamemode_Slayer/server/core/Slayer_TeamHandlerSG.cs:646\\ [[scripting:doc:u:u:slayerteamcmdlistmembers|slayerTeamCmdListMembers]]: Add-Ons/Gamemode_Slayer/server/core/Slayer_TeamHandlerSG.cs:808\\ [[scripting:doc:u:u:servercmdteammessagesent|serverCmdTeamMessageSent]]: Add-Ons/Gamemode_Slayer/server/core/Slayer_TeamHandlerSG.cs:900\\ [[scripting:doc:u:slayeruteamso:updatename|Slayer_TeamSO::updateName]]: Add-Ons/Gamemode_Slayer/server/core/Slayer_TeamSO.cs:749\\ [[scripting:doc:u:u:rtburegisterpref|RTB_registerPref]]: Add-Ons/System_BlocklandGlass/resources/Support_Preferences/server/compatibility.cs:59\\ [[scripting:doc:u:u:pruneprefs|prunePrefs]]: Add-Ons/System_BlocklandGlass/resources/Support_Preferences/server.cs:109\\ [[scripting:doc:u:u:registerloadingscreen|registerLoadingScreen]]: Add-Ons/System_BlocklandGlass/server/GlassServerImage.cs:22\\ [[scripting:doc:u:u:registerloadingscreen|registerLoadingScreen]]: Add-Ons/System_BlocklandGlass/server/GlassServerImage.cs:22\\ [[scripting:doc:u:glassclientsupport:checkclient|GlassClientSupport::checkClient]]: Add-Ons/System_BlocklandGlass/server/GlassClientSupport.cs:61\\ [[scripting:doc:u:glassclientsupport:checkclient|GlassClientSupport::checkClient]]: Add-Ons/System_BlocklandGlass/server/GlassClientSupport.cs:84\\ [[scripting:doc:u:u:removeitemfromlist|removeItemFromList]]: Add-Ons/System_BlocklandGlass/server/GlassServerControl.cs:8\\ [[scripting:doc:u:u:removeitemfromlist|removeItemFromList]]: Add-Ons/System_BlocklandGlass/server/GlassServerControl.cs:14\\ [[scripting:doc:u:u:additemtolist|addItemToList]]: Add-Ons/System_BlocklandGlass/server/GlassServerControl.cs:18\\ [[scripting:doc:u:u:removeitemfromarray|removeItemFromArray]]: Add-Ons/System_BlocklandGlass/server/GlassServerControl.cs:23\\ [[scripting:doc:u:u:removeitemfromarray|removeItemFromArray]]: Add-Ons/System_BlocklandGlass/server/GlassServerControl.cs:29\\ [[scripting:doc:u:u:additemtoarray|addItemToArray]]: Add-Ons/System_BlocklandGlass/server/GlassServerControl.cs:33\\ [[scripting:doc:u:glassservercontrols:sendadmindata|GlassServerControlS::sendAdminData]]: Add-Ons/System_BlocklandGlass/server/GlassServerControl.cs:180\\ [[scripting:doc:u:u:ndtestbricksymmetry|ndTestBrickSymmetry]]: Add-Ons/Tool_NewDuplicator/scripts/server/symmetrytable.cs:150\\ [[scripting:doc:u:u:ndtestbricksymmetry|ndTestBrickSymmetry]]: Add-Ons/Tool_NewDuplicator/scripts/server/symmetrytable.cs:160\\ [[scripting:doc:u:u:ndtestbricksymmetry|ndTestBrickSymmetry]]: Add-Ons/Tool_NewDuplicator/scripts/server/symmetrytable.cs:160\\ [[scripting:doc:u:simobject:setntobjectname|SimObject::setNTObjectName]]: Add-Ons/Tool_NewDuplicator/scripts/server/namedtargets.cs:8\\ [[scripting:doc:u:u:servercmdsavedup|serverCmdSaveDup]]: Add-Ons/Tool_NewDuplicator/scripts/server/commands.cs:758\\ [[scripting:doc:u:u:servercmdloaddup|serverCmdLoadDup]]: Add-Ons/Tool_NewDuplicator/scripts/server/commands.cs:864\\ [[scripting:doc:u:u:servercmdalldups|serverCmdAllDups]]: Add-Ons/Tool_NewDuplicator/scripts/server/commands.cs:933\\ [[scripting:doc:u:u:servercmdplantas|serverCmdPlantAs]]: Add-Ons/Tool_NewDuplicator/scripts/server/commands.cs:1039\\ [[scripting:doc:u:nduselection:startfillwrench|ND_Selection::startFillWrench]]: Add-Ons/Tool_NewDuplicator/classes/server/selection.cs:3071\\ [[scripting:doc:u:nduselection:tickloadbricks|ND_Selection::tickLoadBricks]]: Add-Ons/Tool_NewDuplicator/classes/server/selection.cs:3930\\ base/server/scripts/allGameScripts.cs:1627\\ [[scripting:doc:u:u:serverloadsavefileutick|ServerLoadSaveFile_Tick]]: base/server/scripts/allGameScripts.cs:2543\\ [[scripting:doc:u:u:servercmdsetwrenchdata|serverCmdSetWrenchData]]: base/server/scripts/allGameScripts.cs:13911\\ [[scripting:doc:u:fxdtsbrick:sendwrenchvehiclespawndata|fxDTSBrick::sendWrenchVehicleSpawnData]]: base/server/scripts/allGameScripts.cs:14639\\ [[scripting:doc:u:fxdtsbrick:sendwrenchsounddata|fxDTSBrick::sendWrenchSoundData]]: base/server/scripts/allGameScripts.cs:14670\\ [[scripting:doc:u:fxdtsbrick:sendwrenchdata|fxDTSBrick::sendWrenchData]]: base/server/scripts/allGameScripts.cs:14742\\ [[scripting:doc:u:u:servercmdcreateminigame|serverCmdCreateMinigame]]: base/server/scripts/allGameScripts.cs:27154\\ [[scripting:doc:u:gamemodeguiserver:parsegamemodefile|GameModeGuiServer::ParseGameModeFile]]: base/server/scripts/allGameScripts.cs:33543\\ [[scripting:doc:u:u:clientcmdsetwrenchbotdata|clientCmdSetwrenchBotData]]: Add-Ons/Bot_Hole/wrenchBotDlg.cs:31\\ [[scripting:doc:u:wrenchbotdlg:send|wrenchBotDlg::send]]: Add-Ons/Bot_Hole/wrenchBotDlg.cs:286\\ [[scripting:doc:u:wrenchbotdlg:send|wrenchBotDlg::send]]: Add-Ons/Bot_Hole/wrenchBotDlg.cs:359\\ [[scripting:doc:u:slayerumainuannouncements:scrolltext|Slayer_Main_Announcements::scrollText]]: Add-Ons/Gamemode_Slayer/client/gui/main/99_Slayer_Main.cs:272\\ [[scripting:doc:u:gmmurtbboardpage:handleresults|GMM_RTBBoardPage::handleResults]]: Add-Ons/System_BlocklandGlass/client/submodules/modmanager/rtbBoardPage.cs:128\\ [[scripting:doc:u:gmmurtbaddonpage:handleresults|GMM_RTBAddonPage::handleResults]]: Add-Ons/System_BlocklandGlass/client/submodules/modmanager/rtbAddonPage.cs:174\\ [[scripting:doc:u:gmmuaddonpage:handleresults|GMM_AddonPage::handleResults]]: Add-Ons/System_BlocklandGlass/client/submodules/modmanager/addonPage.cs:420\\ [[scripting:doc:u:glassmodmanagergui:submitcomment|GlassModManagerGui::submitComment]]: Add-Ons/System_BlocklandGlass/client/submodules/modmanager/addonPage.cs:879\\ [[scripting:doc:u:gmmuaddonpage:submitcomment|GMM_AddonPage::submitComment]]: Add-Ons/System_BlocklandGlass/client/submodules/modmanager/addonPage.cs:1200\\ [[scripting:doc:u:gmmusearchpage:search|GMM_SearchPage::search]]: Add-Ons/System_BlocklandGlass/client/submodules/modmanager/searchPage.cs:347\\ [[scripting:doc:u:gmmusearchpage:search|GMM_SearchPage::search]]: Add-Ons/System_BlocklandGlass/client/submodules/modmanager/searchPage.cs:354\\ [[scripting:doc:u:gmmusearchpage:search|GMM_SearchPage::search]]: Add-Ons/System_BlocklandGlass/client/submodules/modmanager/searchPage.cs:356\\ [[scripting:doc:u:gmmusearchpage:search|GMM_SearchPage::search]]: Add-Ons/System_BlocklandGlass/client/submodules/modmanager/searchPage.cs:361\\ [[scripting:doc:u:gmmusearchpage:search|GMM_SearchPage::search]]: Add-Ons/System_BlocklandGlass/client/submodules/modmanager/searchPage.cs:372\\ [[scripting:doc:u:glassmanualwindow:read|GlassManualWindow::read]]: Add-Ons/System_BlocklandGlass/client/GlassManual.cs:81\\ [[scripting:doc:u:glassmanualguiulist:onselect|GlassManualGui_List::onSelect]]: Add-Ons/System_BlocklandGlass/client/GlassManual.cs:91\\ [[scripting:doc:u:glassmanualtcp:ondone|GlassManualTCP::onDone]]: Add-Ons/System_BlocklandGlass/client/GlassManual.cs:114\\ [[scripting:doc:u:glassmanualtcp:ondone|GlassManualTCP::onDone]]: Add-Ons/System_BlocklandGlass/client/GlassManual.cs:142\\ [[scripting:doc:u:glassfavoriteservers:togglefavorite|GlassFavoriteServers::toggleFavorite]]: Add-Ons/System_BlocklandGlass/client/GlassServers.cs:59\\ [[scripting:doc:u:glassfavoriteservers:renderserver|GlassFavoriteServers::renderServer]]: Add-Ons/System_BlocklandGlass/client/GlassServers.cs:167\\ [[scripting:doc:u:glassfavoriteservers:renderserver|GlassFavoriteServers::renderServer]]: Add-Ons/System_BlocklandGlass/client/GlassServers.cs:176\\ [[scripting:doc:u:glassfavoriteserverstcp:ondone|GlassFavoriteServersTCP::onDone]]: Add-Ons/System_BlocklandGlass/client/GlassServers.cs:223\\ [[scripting:doc:u:glassserverpreviewgui:onwake|GlassServerPreviewGui::onWake]]: Add-Ons/System_BlocklandGlass/client/GlassServers.cs:410\\ [[scripting:doc:u:u:stringifyfilesize|stringifyFileSize]]: Add-Ons/System_BlocklandGlass/client/GlassModManager.cs:515\\ [[scripting:doc:u:glassliverooms:updatepersistence|GlassLiveRooms::updatePersistence]]: Add-Ons/System_BlocklandGlass/client/submodules/live/GlassLiveRoom.cs:38\\ [[scripting:doc:u:glassliveroom:adduser|GlassLiveRoom::addUser]]: Add-Ons/System_BlocklandGlass/client/submodules/live/GlassLiveRoom.cs:135\\ [[scripting:doc:u:glasslive:onauthsuccess|GlassLive::onAuthSuccess]]: Add-Ons/System_BlocklandGlass/client/GlassLive.cs:192\\ [[scripting:doc:u:u:secondstotimestring|secondsToTimeString]]: Add-Ons/System_BlocklandGlass/client/GlassLive.cs:360\\ [[scripting:doc:u:glasslive:userblock|GlassLive::userBlock]]: Add-Ons/System_BlocklandGlass/client/GlassLive.cs:1136\\ [[scripting:doc:u:glasslive:createfriendlist|GlassLive::createFriendList]]: Add-Ons/System_BlocklandGlass/client/GlassLive.cs:1514\\ [[scripting:doc:u:glasslive:createfriendlist|GlassLive::createFriendList]]: Add-Ons/System_BlocklandGlass/client/GlassLive.cs:1546\\ [[scripting:doc:u:glasslive:createfriendlist|GlassLive::createFriendList]]: Add-Ons/System_BlocklandGlass/client/GlassLive.cs:1565\\ [[scripting:doc:u:glasslive:createfriendlist|GlassLive::createFriendList]]: Add-Ons/System_BlocklandGlass/client/GlassLive.cs:1575\\ [[scripting:doc:u:glasslive:createfriendlist|GlassLive::createFriendList]]: Add-Ons/System_BlocklandGlass/client/GlassLive.cs:1592\\ [[scripting:doc:u:glasslive:createfriendswatch|GlassLive::createFriendSwatch]]: Add-Ons/System_BlocklandGlass/client/GlassLive.cs:1787\\ [[scripting:doc:u:glasslive:createfriendswatch|GlassLive::createFriendSwatch]]: Add-Ons/System_BlocklandGlass/client/GlassLive.cs:1788\\ [[scripting:doc:u:glassfriendsguiustatusselect:updatestatus|GlassFriendsGui_StatusSelect::updateStatus]]: Add-Ons/System_BlocklandGlass/client/GlassLive.cs:2087\\ [[scripting:doc:u:glasslive:messageinputsend|GlassLive::messageInputSend]]: Add-Ons/System_BlocklandGlass/client/GlassLive.cs:2792\\ [[scripting:doc:u:glassmoderatorgui:submit|GlassModeratorGui::Submit]]: Add-Ons/System_BlocklandGlass/client/GlassLive.cs:3339\\ [[scripting:doc:u:glassmoderatorgui:submit|GlassModeratorGui::Submit]]: Add-Ons/System_BlocklandGlass/client/GlassLive.cs:3340\\ [[scripting:doc:u:glassmoderatorgui:submit|GlassModeratorGui::Submit]]: Add-Ons/System_BlocklandGlass/client/GlassLive.cs:3375\\ [[scripting:doc:u:glassmoderatorgui:addduration|GlassModeratorGui::addDuration]]: Add-Ons/System_BlocklandGlass/client/GlassLive.cs:3415\\ [[scripting:doc:u:glasslive:chatroominputsend|GlassLive::chatroomInputSend]]: Add-Ons/System_BlocklandGlass/client/GlassLive.cs:3683\\ [[scripting:doc:u:glassemoteselector:listemotes|GlassEmoteSelector::ListEmotes]]: Add-Ons/System_BlocklandGlass/client/GlassLive.cs:4236\\ [[scripting:doc:u:glassauth:submitpassword|GlassAuth::submitPassword]]: Add-Ons/System_BlocklandGlass/client/GlassAuth.cs:504\\ [[scripting:doc:u:glassauthudnstcp:ondone|GlassAuth_dnsTCP::onDone]]: Add-Ons/System_BlocklandGlass/client/GlassAuth.cs:683\\ [[scripting:doc:u:glassjoiniputcpobj:online|GlassJoinIP_tcpObj::onLine]]: Add-Ons/System_BlocklandGlass/client/GlassAuth.cs:752\\ [[scripting:doc:u:glassclientmanager:scan|GlassClientManager::scan]]: Add-Ons/System_BlocklandGlass/client/GlassClientManager.cs:31\\ [[scripting:doc:u:gameconnection:onconnectrequestrejected|GameConnection::onConnectRequestRejected]]: Add-Ons/System_BlocklandGlass/client/GlassClientManager.cs:213\\ [[scripting:doc:u:glassupdatersupport:interact|GlassUpdaterSupport::interact]]: Add-Ons/System_BlocklandGlass/client/GlassUpdaterSupport.cs:74\\ [[scripting:doc:u:guiwindowctrl:onadd|GuiWindowCtrl::onAdd]]: Add-Ons/System_BlocklandGlass/client/gui/profiles.cs:293\\ [[scripting:doc:u:glasssettings:init|GlassSettings::init]]: Add-Ons/System_BlocklandGlass/client/GlassSettings.cs:88\\ Add-Ons/System_BlocklandGlass/client/GlassSettings.cs:0\\ [[scripting:doc:u:glasslog:cleanold|GlassLog::cleanOld]]: Add-Ons/System_BlocklandGlass/common/GlassLog.cs:43\\ [[scripting:doc:u:u:slusort|sl_sort]]: Add-Ons/System_BlocklandGlass/common/GlassLog.cs:198\\ [[scripting:doc:u:u:ndsendfillwrenchdata|ndSendFillWrenchData]]: Add-Ons/Tool_NewDuplicator/scripts/client/wrench.cs:81\\ [[scripting:doc:u:u:ndsendfillwrenchdata|ndSendFillWrenchData]]: Add-Ons/Tool_NewDuplicator/scripts/client/wrench.cs:150\\ [[scripting:doc:u:u:ndsendfillwrenchdata|ndSendFillWrenchData]]: Add-Ons/Tool_NewDuplicator/scripts/client/wrench.cs:0\\ [[scripting:doc:u:newplayerlistgui:updatewindowtitle|NewPlayerListGui::UpdateWindowTitle]]: base/client/scripts/allClientScripts.cs:998\\ [[scripting:doc:u:createminigamegui:send|CreateMiniGameGui::send]]: base/client/scripts/allClientScripts.cs:2575\\ [[scripting:doc:u:createminigamegui:send|CreateMiniGameGui::send]]: base/client/scripts/allClientScripts.cs:2588\\ [[scripting:doc:u:createminigamegui:send|CreateMiniGameGui::send]]: base/client/scripts/allClientScripts.cs:2596\\ [[scripting:doc:u:u:getvalidsavename|getValidSaveName]]: base/client/scripts/allClientScripts.cs:3092\\ [[scripting:doc:u:u:usetools|useTools]]: base/client/scripts/allClientScripts.cs:5511\\ [[scripting:doc:u:u:clientcmdsetactivetool|clientCmdSetActiveTool]]: base/client/scripts/allClientScripts.cs:5530\\ [[scripting:doc:u:u:setactivetool|setActiveTool]]: base/client/scripts/allClientScripts.cs:5987\\ [[scripting:doc:u:u:handleitempickup|handleItemPickup]]: base/client/scripts/allClientScripts.cs:8982\\ [[scripting:doc:u:u:handlestoptalking|handleStopTalking]]: base/client/scripts/allClientScripts.cs:9185\\ [[scripting:doc:u:u:secureclientcmdusetservernamedisplay|secureClientCmd_SetServerNameDisplay]]: base/client/scripts/allClientScripts.cs:9277\\ [[scripting:doc:u:serverso:serialize|ServerSO::serialize]]: base/client/scripts/allClientScripts.cs:10183\\ [[scripting:doc:u:nmhutype:send|NMH_Type::send]]: base/client/scripts/allClientScripts.cs:17279\\ [[scripting:doc:u:u:clientcmdsetwrenchdata|clientCmdSetWrenchData]]: base/client/scripts/allClientScripts.cs:18253\\ [[scripting:doc:u:wrenchdlg:send|wrenchDlg::send]]: base/client/scripts/allClientScripts.cs:18507\\ [[scripting:doc:u:wrenchdlg:send|wrenchDlg::send]]: base/client/scripts/allClientScripts.cs:18580\\ [[scripting:doc:u:wrenchsounddlg:send|wrenchSoundDlg::send]]: base/client/scripts/allClientScripts.cs:18631\\ [[scripting:doc:u:wrenchsounddlg:send|wrenchSoundDlg::send]]: base/client/scripts/allClientScripts.cs:18642\\ [[scripting:doc:u:wrenchvehiclespawndlg:send|wrenchVehicleSpawnDlg::send]]: base/client/scripts/allClientScripts.cs:18696\\ [[scripting:doc:u:wrenchvehiclespawndlg:send|wrenchVehicleSpawnDlg::send]]: base/client/scripts/allClientScripts.cs:18720\\ [[scripting:doc:u:wrencheventsdlg:reshufflescrollbox|wrenchEventsDlg::reshuffleScrollbox]]: base/client/scripts/allClientScripts.cs:20799\\ [[scripting:doc:u:gamemodegui:getmissingaddons|GameModeGui::GetMissingAddOns]]: base/client/scripts/allClientScripts.cs:26707\\ [[scripting:doc:u:u:sendhatrequest|sendHatRequest]]: base/client/scripts/allClientScripts.cs:28648\\ [[scripting:doc:u:u:deactivateserverpackages|DeactivateServerPackages]]: base/server/mainServer.cs:1239\\ [[scripting:doc:u:u:servercmdteammessagesent|serverCmdTeamMessageSent]]: base/server/mainServer.cs:1595\\ [[scripting:doc:u:u:servercmdteammessagesent|serverCmdTeamMessageSent]]: base/server/mainServer.cs:1620\\ base/server/mainServer.cs:1695\\ base/server/mainServer.cs:1720\\ [[scripting:doc:u:u:convertfile|convertFile]]: base/client/init.cs:171\\ [[scripting:doc:u:u:convertfile|convertFile]]: base/client/init.cs:184\\ [[scripting:doc:u:u:parseargs|parseArgs]]: main.cs:173\\