jermaindefoe wrote:It all depends on what you application does.
using string builder i am storing matches bob vs ben james vs frank, each on a different line, this means they are all one string, is this more efficient than storing each name in a seperate string and would it make the programme better doing this?
jermaindefoe wrote:One large string would consume less memory but your applications could execute faster with 500,000 strings (depending on what you want to do)
well in a big programme, wuld it be more efficient to have a string containing 500,000 names, or 500,000 names in strign each?
and also, whats the difference between sub strign and string split, dont they both do exactly the same?No they don't.