String Manipulation

okibi okibi at ratedo.com
Tue Jul 10 06:52:33 PDT 2007


Well, I ended up just doing some splits to get what the location of the xsl file will be. Still, I'd like someone to tell me if there is an easier way.

Thanks!

okibi Wrote:

> I have a question for you all.
> 
> If I have the following string or char[], how would I get the xsl filename out of it?
> 
> char[] myStr = "...<?xml-stylesheet type=\"text/xsl\" href=\"example.xsl\"?>...";
> 
> Is there a way to get it to return just example.xsl?
> 
> Thanks!



More information about the Digitalmars-d-learn mailing list