How to get all string format parameters
Posted
by crauscher
on Stack Overflow
See other posts from Stack Overflow
or by crauscher
Published on 2010-04-27T13:12:33Z
Indexed on
2010/04/27
13:13 UTC
Read the original article
Hit count: 410
Is there a way to get all format parameters of a string?
I have this string: "{0} test {0} test2 {1} test3 {2:####}" The result should be a list: {0} {0} {1} {2:####}
Is there any built in functionality in .net that supports this?
© Stack Overflow or respective owner