Please help me write a short script that checks for space character and remove it.
Thank you for assisting.
Edited by astrax, 13 May 2009 - 12:18 AM.
Posted 13 May 2009 - 12:16 AM
Edited by astrax, 13 May 2009 - 12:18 AM.
Posted 13 May 2009 - 12:20 AM
StringStripWS($String, 8)Hi,
Please help me write a short script that checks for space character and remove it.
Thank you for assisting.
iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper
Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | IconChooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | AITray UDF Library

Posted 13 May 2009 - 12:33 AM
StringStripWS($String, 8)
case $submit StringStripWS($input, 8) sub()
Posted 13 May 2009 - 01:32 AM
Case $Submit $RmSp = StringStripWS(GUICtrlRead($input), 8) sub()
Posted 13 May 2009 - 01:36 AM
$Replace_Space_With = '{Space}'; This can be anything. $Input = InputBox ('Name?','Please input your name.') $Input = StringReplace ($Input, ' ', $Replace_Space_With); Scans $Input for spaces and replaces it with $Replace_Space_With MsgBox ('0','StringReplace () Example','Before : ' & StringReplace ($Input, $Replace_Space_With, ' ') & @CRLF & 'After : ' & $Input, '0')
Posted 13 May 2009 - 01:38 AM
0 members, 0 guests, 0 anonymous users