Home > Back-end >  Warrior, such a demand how to realize help?
Warrior, such a demand how to realize help?

Time:10-05

Delphi
As in a text box input:
Beijing, 3 punctuation for whole Angle
Or Beijing, 3 punctuation for half Angle
3 no punctuation or Beijing

How can you break a string into

Beijing
3

CodePudding user response:

Have replaced the Angle of punctuation to enter (# 13)
The half Angle of punctuation is replaced by a carriage return (# 13)
Scan a string, insert a carriage return between Chinese characters with ASCII

CodePudding user response:

The method of 1/f
Or more complex data, using regular expressions can be very convenient

CodePudding user response:

Please provide the implementation method of the program! Thank you very much