Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
26
Task/Substring/00-TASK.txt
Normal file
26
Task/Substring/00-TASK.txt
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{{basic data operation}}
|
||||
[[Category:String manipulation]]
|
||||
[[Category:Simple]]
|
||||
[[Category:Strings]]
|
||||
|
||||
|
||||
;Task:
|
||||
Display a substring:
|
||||
:* starting from '''<tt>n</tt>''' characters in and of '''<tt>m</tt>''' length;
|
||||
:* starting from '''<tt>n'''</tt> characters in, up to the end of the string;
|
||||
:* whole string minus the last character;
|
||||
:* starting from a known character within the string and of '''<tt>m</tt>''' length;
|
||||
:* starting from a known substring within the string and of '''<tt>m</tt>''' length.
|
||||
|
||||
<br>
|
||||
If the program uses UTF-8 or UTF-16, it must work on any valid Unicode code point,
|
||||
whether in the [https://en.wikipedia.org/wiki/Plane_%28Unicode%29#Basic_Multilingual_Plane Basic Multilingual Plane] or above it.
|
||||
|
||||
The program must reference logical characters (code points), not 8-bit code units for UTF-8 or 16-bit code units for UTF-16.
|
||||
|
||||
Programs for other encodings (such as 8-bit ASCII, or EUC-JP) are not required to handle all Unicode characters.
|
||||
|
||||
|
||||
{{Template:Strings}}
|
||||
<br><br>
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue