String template

This is a discussion on String template within the C# Programming forums, part of the General Programming Boards category; In Java I know there is a class that makes it possible to have a file with strings looking like ...

  1. #1
    Registered User
    Join Date
    Nov 2005
    Posts
    41

    String template

    In Java I know there is a class that makes it possible to have a file with strings looking like this:

    Code:
    afdasda {1} dfsfsdf sdfsdf {2} fd gerhery
    rjhrt {1} rjt sdfsdf {2} fd gerherert  y {3}
    
    When I fetch them I can easily insert my own strings into the gaps, that is in the {x}. How do I do that in C#?

  2. #2
    Sweet
    Join Date
    Aug 2002
    Location
    Tucson, Arizona
    Posts
    1,810

  3. #3
    Registered User
    Join Date
    Nov 2005
    Posts
    41

    Great!

    Thanks alot!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. String issues
    By The_professor in forum C++ Programming
    Replies: 7
    Last Post: 06-12-2007, 10:11 AM
  2. Calculator + LinkedList
    By maro009 in forum C++ Programming
    Replies: 20
    Last Post: 05-17-2005, 01:56 PM
  3. Something is wrong with this menu...
    By DarkViper in forum Windows Programming
    Replies: 2
    Last Post: 12-14-2002, 11:06 PM
  4. Classes inheretance problem...
    By NANO in forum C++ Programming
    Replies: 12
    Last Post: 12-09-2002, 03:23 PM
  5. Warnings, warnings, warnings?
    By spentdome in forum C Programming
    Replies: 25
    Last Post: 05-27-2002, 07:49 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21