| |

VerySource

 Forgot password?
 Register
Search
View: 668|Reply: 2

Questions about VC SubString () split string

[Copy link]

4

Threads

4

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 Invalid IP Address

Post time: 2020-1-11 16:00:01
| Show all posts |Read mode
Please heroes help to split strings with SubString ()
CString strSql = "updata t_table set aa = bb";
Thank you!
Reply

Use magic Report

0

Threads

3

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-1-15 22:54:01
| Show all posts
AfxExtractSubString
http://www.vckbase.com/bbs/prime/viewprime.asp?id=353
Reply

Use magic Report

0

Threads

57

Posts

27.00

Credits

Newbie

Rank: 1

Credits
27.00

 China

Post time: 2020-1-16 08:27:01
| Show all posts
CString a [7];
CString * pa =&a [0];

int curPos = 0;

* pa = strSql.Tokenize ("", curPos);
while (resToken! = "")
{
   pa ++;
   * pa = str.Tokenize ("", curPos);
};
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list