Home » U++ Library support » U++ Core » Is there a token function?
Re: Is there a token function? [message #2744 is a reply to message #2737] |
Mon, 24 April 2006 01:01   |
 |
fudadmin
Messages: 1321 Registered: November 2005 Location: Kaunas, Lithuania
|
Ultimate Contributor Administrator |
|
|
luzr wrote on Sun, 23 April 2006 14:44 |
fudadmin wrote on Sun, 23 April 2006 09:33 | Yes, I'had seen that in streams. I just wanted to know why GetLine is absent in String?
|
What should it do? I can't imagine anything reasonable...
Mirek
|
In fact, I want something like in FOX:
/// Return num partition(s) beginning at start from a string separated by delimiters delim.
FXString section(FXchar delim,FXint start,FXint num=1) const;
/// Return num partition(s) beginning at start from a string separated by set of delimiters from delim of size n
FXString section(const FXchar* delim,FXint n,FXint start,FXint num) const;
FXString section(const FXchar* delim,FXint start,FXint num=1) const;
FXString section(const FXString& delim,FXint start,FXint num=1) const;
I think, it's much more convienient than to have separate Vector<String> and Split for each delimiter if you work with text manipulations...
And, as I understand you have coded something similar in Uvs2 (textdiff) but that's not in the library...
|
|
|
 |
|
Is there a token function?
By: forlano on Sat, 22 April 2006 22:06
|
 |
|
Re: Is there a token function?
By: mirek on Sat, 22 April 2006 22:39
|
 |
|
Re: Is there a token function?
By: fudadmin on Sun, 23 April 2006 11:50
|
 |
|
Re: Is there a token function?
By: forlano on Sun, 23 April 2006 13:31
|
 |
|
Re: Is there a token function?
By: fudadmin on Sun, 23 April 2006 13:35
|
 |
|
Re: Is there a token function?
By: forlano on Sun, 23 April 2006 13:55
|
 |
|
Re: Is there a token function?
By: fudadmin on Sun, 23 April 2006 13:57
|
 |
|
Re: Is there a token function?
By: fudadmin on Sun, 23 April 2006 13:59
|
 |
|
Re: Is there a token function?
By: forlano on Sun, 23 April 2006 14:19
|
 |
|
Re: Is there a token function?
By: mirek on Sun, 23 April 2006 14:50
|
 |
|
Re: Is there a token function?
By: fudadmin on Sun, 23 April 2006 15:33
|
 |
|
Re: Is there a token function?
By: fudadmin on Sun, 23 April 2006 15:36
|
 |
|
Re: Is there a token function?
By: mirek on Sun, 23 April 2006 15:44
|
 |
|
Re: Is there a token function?
By: fudadmin on Mon, 24 April 2006 01:01
|
 |
|
Re: Is there a token function?
By: mirek on Mon, 24 April 2006 01:14
|
Goto Forum:
Current Time: Tue Jul 08 21:46:43 CEST 2025
Total time taken to generate the page: 0.03581 seconds
|