[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [CPROG] C++ opdeling af streng i substrenge



Hej.
I almindelig C kan man, ved hjælp af string.h og/eller stddef.h, bruge
strtok til at implementere din funktionalitet. Tror jeg.
Jeg regner med, at den også kan bruges i C++.
Hilsen Jesper

On Thu, 2002-07-18 at 12:06, Robert Larsen wrote:
> Hej kodere
> 
> Jeg har været lidt på udkig efter en funktion som kan dele en streng op ved
> bestemte tegn (lidt i stil med Javas StringTokenizer klasse og PHP's explode
> funktion). Dvs. at strengen "bla blar    bla" kunne blive delt op til et
> eller andet i stil med: "bla","blar",bla",NULL
> 
> Findes den ?
> 
> Robert
> 
> 




 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:09 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *