kickitship Posted June 30, 2010 Posted June 30, 2010 how do i glue two lines of text together, like for example poop fart can make poopfart with no space
KaFu Posted June 30, 2010 Posted June 30, 2010 (edited) $string1 = "R" $string2 = "T" $string3 = "F" $string4 = "M" msgbox(0,"",$string1 & $string2 & $string3 & $string4) msgbox(0,"",$string1 & " " & $string2 & " " & $string3 & " " & $string4) Edited June 30, 2010 by KaFu OS: Win10-22H2 - 64bit - German, AutoIt Version: 3.3.16.1, AutoIt Editor: SciTE, Website: https://funk.eu AMT - Auto-Movie-Thumbnailer (2024-Oct-13) BIC - Batch-Image-Cropper (2023-Apr-01) COP - Color Picker (2009-May-21) DCS - Dynamic Cursor Selector (2024-Oct-13) HMW - Hide my Windows (2024-Oct-19) HRC - HotKey Resolution Changer (2012-May-16) ICU - Icon Configuration Utility (2018-Sep-16) SMF - Search my Files (2025-May-18) - THE file info and duplicates search tool SSD - Set Sound Device (2017-Sep-16)
jfcby Posted June 30, 2010 Posted June 30, 2010 (edited) This is another way to remove spaces from text...$text1 = " this is a line of text " MsgBox(0, "Orginal text with spaces...", $text1) $text2 = StringStripWS($text1, 8) MsgBox(0, "Text with all spaces removed...", $text2)jfcby Edited June 30, 2010 by jfcby Determined -- Devoted -- Delivered Make your mind up -- to seriously apply yourself -- accomplishing the desired results. **** A soft answer turneth away wrath: but grievous words stir up anger. Proverbs 15:1 KJB ****
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now