replace " " with "" menu

User Tag List

Results 1 to 6 of 6
  1. #1
    kazama's Avatar Member
    Reputation
    11
    Join Date
    Feb 2007
    Posts
    76
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    replace " " with ""

    Hey i need help once agian : /

    Need to know how to get my program to replace " " (space) with "" (empty)
    I have try:
    ComboBox1.Text.Replace(" ", "") but didn't work

    Hope you can help me agian (-:

    :wave:

    Edit: Btw it's in visual basic 2008
    Last edited by kazama; 01-17-2009 at 07:28 PM.
    Do you ever wonder why we are here and not there ?

    replace " " with ""
  2. #2
    Murdok's Avatar Member
    Reputation
    34
    Join Date
    Oct 2007
    Posts
    69
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Not sure if this will work i only really know vb6 but instead of " " use
    Chr() with the ascii value of space which is 32 i think.

    And if the spaces you want to remove are only at begining or end use
    Trim()

    There are 10 kinds of people in the world. Those who understand binary and those who don't.

  3. #3
    kazama's Avatar Member
    Reputation
    11
    Join Date
    Feb 2007
    Posts
    76
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Murdok View Post
    Not sure if this will work i only really know vb6 but instead of " " use
    Chr() with the ascii value of space which is 32 i think.

    And if the spaces you want to remove are only at begining or end use
    Trim()
    stille not working :'(


    Sorry my bad forgot to say it's was in visual basic 2008 (vb.net)
    Do you ever wonder why we are here and not there ?

  4. #4
    MaiN's Avatar Elite User
    Reputation
    335
    Join Date
    Sep 2006
    Posts
    1,047
    Thanks G/R
    0/10
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Uhmm, it appears to be working for me.
    Code:
    comboBox1.Text = comboBox1.Text.Replace(" ", "")
    [16:15:41] Cypher: caus the CPU is a dick
    [16:16:07] kynox: CPU is mad
    [16:16:15] Cypher: CPU is all like
    [16:16:16] Cypher: whatever, i do what i want

  5. #5
    kazama's Avatar Member
    Reputation
    11
    Join Date
    Feb 2007
    Posts
    76
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    God i'm stupid. you are right MaiN that's works. forgot combobox1.text = ..... -.-

    Thanks (-:
    +rep
    Do you ever wonder why we are here and not there ?

  6. #6
    MaiN's Avatar Elite User
    Reputation
    335
    Join Date
    Sep 2006
    Posts
    1,047
    Thanks G/R
    0/10
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Haha, you're welcome.
    [16:15:41] Cypher: caus the CPU is a dick
    [16:16:07] kynox: CPU is mad
    [16:16:15] Cypher: CPU is all like
    [16:16:16] Cypher: whatever, i do what i want

Similar Threads

  1. Replace old Goblin with Cata?
    By Onelord in forum WoW ME Questions and Requests
    Replies: 4
    Last Post: 08-04-2010, 07:42 AM
  2. replace t8.5 with tier9 from PTR
    By xtase2007 in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 07-18-2009, 12:00 AM
  3. Replacing WoW sounds with custom sound files?
    By Ecadioli in forum World of Warcraft General
    Replies: 4
    Last Post: 04-08-2008, 06:48 PM
  4. Replacing one file with many others
    By Ihackednasa in forum WoW ME Questions and Requests
    Replies: 2
    Last Post: 09-02-2007, 05:12 AM
All times are GMT -5. The time now is 02:38 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search