Thread: Find a string and then a space

  1. #1
    Registered User
    Join Date
    Oct 2011
    Posts
    2

    Find a string and then a space

    How would I write code that says:

    "If the the beginning of a line has a variable name followed by a space, followed by = followed by another space"

    Basically I want to only take out spaces before and after = when it follows a variable name and no other time.

  2. #2
    Registered User
    Join Date
    Aug 2010
    Posts
    231
    Post your code.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. String problem after space
    By fukki in forum C++ Programming
    Replies: 1
    Last Post: 10-05-2010, 03:10 AM
  2. Replies: 5
    Last Post: 01-18-2010, 07:25 AM
  3. space in string
    By George2 in forum C++ Programming
    Replies: 9
    Last Post: 02-28-2008, 12:54 AM
  4. Find space inside Array?
    By hajas in forum C Programming
    Replies: 4
    Last Post: 06-21-2007, 06:46 AM
  5. Is there a way to check a string for a space
    By Raigne in forum C++ Programming
    Replies: 4
    Last Post: 11-24-2005, 03:27 AM

Tags for this Thread