Prog string --- Introduction ---

This modules gathers 50 interactive programming exercises, variable and configurable, on the processing of strings. The software can ask you to produce an algorithm to count or modify the string according to various formulas. It will then compile your submitted code and test it on randomly generated strings for the validity of the code. The easiest case is here.

Transform: Modif-batch I

a function which takes a string of characters , and [ ]

ERROR. Your code didn't give anything. Syntax error?
Your code didn't pass the test on the following string of characters:

Please correct (try number , limited to ).

ATTENTION! The length of your code is limited to characters not including spaces. And the score depends on the length. The shorter is the code, the higher is the score, up to a complete score if the length does not exceed .

The following names ARE NOT allowed in the code:

Transform: Modif-batch II

a function which takes a string of characters , and [ ]

ERROR. Your code didn't give anything. Syntax error?
Your code didn't pass the test on the following string of characters:

Please correct (try number , limited to ).

ATTENTION! The length of your code is limited to characters not including spaces. And the score depends on the length. The shorter is the code, the higher is the score, up to a complete score if the length does not exceed .

The following names ARE NOT allowed in the code:

Transform: Modif-batch by word

a function which takes a string of characters , and [ ]

ERROR. Your code didn't give anything. Syntax error?
Your code didn't pass the test on the following string of characters:

Please correct (try number , limited to ).

ATTENTION! The length of your code is limited to characters not including spaces. And the score depends on the length. The shorter is the code, the higher is the score, up to a complete score if the length does not exceed .

The following names ARE NOT allowed in the code:

Characterize: Given letter

a function which takes a string of characters , and [ ]

ERROR. Your code didn't give anything. Syntax error?
Your code didn't pass the test on the following string of characters:

It gives , while the right result should be .

Please correct (try number , limited to ).

ATTENTION! The length of your code is limited to characters not including spaces. And the score depends on the length. The shorter is the code, the higher is the score, up to a complete score if the length does not exceed .

The following names ARE NOT allowed in the code:

Count: Given letter

a function which takes a string of characters , and [ ]

ERROR. Your code didn't give anything. Syntax error?
Your code didn't pass the test on the following string of characters:

It gives , while the right result should be .

Please correct (try number , limited to ).

ATTENTION! The length of your code is limited to characters not including spaces. And the score depends on the length. The shorter is the code, the higher is the score, up to a complete score if the length does not exceed .

The following names ARE NOT allowed in the code:

Insert: Double characters

a function which takes a string of characters , and [ ]

ERROR. Your code didn't give anything. Syntax error?
Your code didn't pass the test on the following string of characters:

Please correct (try number , limited to ).

ATTENTION! The length of your code is limited to characters not including spaces. And the score depends on the length. The shorter is the code, the higher is the score, up to a complete score if the length does not exceed .

The following names ARE NOT allowed in the code:

Cut: Designated character

a function which takes a string of characters , and [ ]

ERROR. Your code didn't give anything. Syntax error?
Your code didn't pass the test on the following string of characters:

Please correct (try number , limited to ).

ATTENTION! The length of your code is limited to characters not including spaces. And the score depends on the length. The shorter is the code, the higher is the score, up to a complete score if the length does not exceed .

The following names ARE NOT allowed in the code:

a function which takes a string of characters , and [ ]

ERROR. Your code didn't give anything. Syntax error?
Your code didn't pass the test on the following string of characters:

Please correct (try number , limited to ).

ATTENTION! The length of your code is limited to characters not including spaces. And the score depends on the length. The shorter is the code, the higher is the score, up to a complete score if the length does not exceed .

The following names ARE NOT allowed in the code:

Cut: Marker I

a function which takes a string of characters , and [ ]

ERROR. Your code didn't give anything. Syntax error?
Your code didn't pass the test on the following string of characters:

Please correct (try number , limited to ).

ATTENTION! The length of your code is limited to characters not including spaces. And the score depends on the length. The shorter is the code, the higher is the score, up to a complete score if the length does not exceed .

The following names ARE NOT allowed in the code:

Cut: Marker II

a function which takes a string of characters , and [ ]

ERROR. Your code didn't give anything. Syntax error?
Your code didn't pass the test on the following string of characters:

Please correct (try number , limited to ).

ATTENTION! The length of your code is limited to characters not including spaces. And the score depends on the length. The shorter is the code, the higher is the score, up to a complete score if the length does not exceed .

The following names ARE NOT allowed in the code:

Cut: Middle of the string

a function which takes a string of characters , and [ ]

ERROR. Your code didn't give anything. Syntax error?
Your code didn't pass the test on the following string of characters:

Please correct (try number , limited to ).

ATTENTION! The length of your code is limited to characters not including spaces. And the score depends on the length. The shorter is the code, the higher is the score, up to a complete score if the length does not exceed .

The following names ARE NOT allowed in the code:

Cut: Parity of position

a function which takes a string of characters , and [ ]

ERROR. Your code didn't give anything. Syntax error?
Your code didn't pass the test on the following string of characters:

Please correct (try number , limited to ).

ATTENTION! The length of your code is limited to characters not including spaces. And the score depends on the length. The shorter is the code, the higher is the score, up to a complete score if the length does not exceed .

The following names ARE NOT allowed in the code:

Cut: End of the string

a function which takes a string of characters , and [ ]

ERROR. Your code didn't give anything. Syntax error?
Your code didn't pass the test on the following string of characters:

Please correct (try number , limited to ).

ATTENTION! The length of your code is limited to characters not including spaces. And the score depends on the length. The shorter is the code, the higher is the score, up to a complete score if the length does not exceed .

The following names ARE NOT allowed in the code:

Cut: Type of characters

a function which takes a string of characters , and [ ]

ERROR. Your code didn't give anything. Syntax error?
Your code didn't pass the test on the following string of characters:

Please correct (try number , limited to ).

ATTENTION! The length of your code is limited to characters not including spaces. And the score depends on the length. The shorter is the code, the higher is the score, up to a complete score if the length does not exceed .

The following names ARE NOT allowed in the code:

Cut: Word of référence

a function which takes a string of characters , and [ ]

ERROR. Your code didn't give anything. Syntax error?
Your code didn't pass the test on the following string of characters:

Please correct (try number , limited to ).

ATTENTION! The length of your code is limited to characters not including spaces. And the score depends on the length. The shorter is the code, the higher is the score, up to a complete score if the length does not exceed .

The following names ARE NOT allowed in the code:

Cut: Repetitions

a function which takes a string of characters , and [ ]

ERROR. Your code didn't give anything. Syntax error?
Your code didn't pass the test on the following string of characters:

Please correct (try number , limited to ).

ATTENTION! The length of your code is limited to characters not including spaces. And the score depends on the length. The shorter is the code, the higher is the score, up to a complete score if the length does not exceed .

The following names ARE NOT allowed in the code:

Count: Sum of digits

a function which takes a string of characters , and [ ]

ERROR. Your code didn't give anything. Syntax error?
Your code didn't pass the test on the following string of characters:

It gives , while the right result should be .

Please correct (try number , limited to ).

ATTENTION! The length of your code is limited to characters not including spaces. And the score depends on the length. The shorter is the code, the higher is the score, up to a complete score if the length does not exceed .

The following names ARE NOT allowed in the code:

Insert: Fixed character

a function which takes a string of characters , and [ ]

ERROR. Your code didn't give anything. Syntax error?
Your code didn't pass the test on the following string of characters:

Please correct (try number , limited to ).

ATTENTION! The length of your code is limited to characters not including spaces. And the score depends on the length. The shorter is the code, the higher is the score, up to a complete score if the length does not exceed .

The following names ARE NOT allowed in the code:

Insert: To the beginning

a function which takes a string of characters , and [ ]

ERROR. Your code didn't give anything. Syntax error?
Your code didn't pass the test on the following string of characters:

Please correct (try number , limited to ).

ATTENTION! The length of your code is limited to characters not including spaces. And the score depends on the length. The shorter is the code, the higher is the score, up to a complete score if the length does not exceed .

The following names ARE NOT allowed in the code:

Insert: To marker I

a function which takes a string of characters , and [ ]

ERROR. Your code didn't give anything. Syntax error?
Your code didn't pass the test on the following string of characters:

Please correct (try number , limited to ).

ATTENTION! The length of your code is limited to characters not including spaces. And the score depends on the length. The shorter is the code, the higher is the score, up to a complete score if the length does not exceed .

The following names ARE NOT allowed in the code:

Insert: To marker II

a function which takes a string of characters , and [ ]

ERROR. Your code didn't give anything. Syntax error?
Your code didn't pass the test on the following string of characters:

Please correct (try number , limited to ).

ATTENTION! The length of your code is limited to characters not including spaces. And the score depends on the length. The shorter is the code, the higher is the score, up to a complete score if the length does not exceed .

The following names ARE NOT allowed in the code:

Insert: To the middle

a function which takes a string of characters , and [ ]

ERROR. Your code didn't give anything. Syntax error?
Your code didn't pass the test on the following string of characters:

Please correct (try number , limited to ).

ATTENTION! The length of your code is limited to characters not including spaces. And the score depends on the length. The shorter is the code, the higher is the score, up to a complete score if the length does not exceed .

The following names ARE NOT allowed in the code:

Insert: To the end

a function which takes a string of characters , and [ ]

ERROR. Your code didn't give anything. Syntax error?
Your code didn't pass the test on the following string of characters:

Please correct (try number , limited to ).

ATTENTION! The length of your code is limited to characters not including spaces. And the score depends on the length. The shorter is the code, the higher is the score, up to a complete score if the length does not exceed .

The following names ARE NOT allowed in the code:

Count: Length

a function which takes a string of characters , and [ ]

ERROR. Your code didn't give anything. Syntax error?
Your code didn't pass the test on the following string of characters:

It gives , while the right result should be .

Please correct (try number , limited to ).

ATTENTION! The length of your code is limited to characters not including spaces. And the score depends on the length. The shorter is the code, the higher is the score, up to a complete score if the length does not exceed .

The following names ARE NOT allowed in the code:

Transform: Marker I

a function which takes a string of characters , and [ ]

ERROR. Your code didn't give anything. Syntax error?
Your code didn't pass the test on the following string of characters:

Please correct (try number , limited to ).

ATTENTION! The length of your code is limited to characters not including spaces. And the score depends on the length. The shorter is the code, the higher is the score, up to a complete score if the length does not exceed .

The following names ARE NOT allowed in the code:

Transform: Marker II

a function which takes a string of characters , and [ ]

ERROR. Your code didn't give anything. Syntax error?
Your code didn't pass the test on the following string of characters:

Please correct (try number , limited to ).

ATTENTION! The length of your code is limited to characters not including spaces. And the score depends on the length. The shorter is the code, the higher is the score, up to a complete score if the length does not exceed .

The following names ARE NOT allowed in the code:

Count: Position of marker I

a function which takes a string of characters , and [ ]

ERROR. Your code didn't give anything. Syntax error?
Your code didn't pass the test on the following string of characters:

It gives , while the right result should be .

Please correct (try number , limited to ).

ATTENTION! The length of your code is limited to characters not including spaces. And the score depends on the length. The shorter is the code, the higher is the score, up to a complete score if the length does not exceed .

The following names ARE NOT allowed in the code:

Count: Position of marker II

a function which takes a string of characters , and [ ]

ERROR. Your code didn't give anything. Syntax error?
Your code didn't pass the test on the following string of characters:

It gives , while the right result should be .

Please correct (try number , limited to ).

ATTENTION! The length of your code is limited to characters not including spaces. And the score depends on the length. The shorter is the code, the higher is the score, up to a complete score if the length does not exceed .

The following names ARE NOT allowed in the code:

Cut: Spacing characters

a function which takes a string of characters , and [ ]

ERROR. Your code didn't give anything. Syntax error?
Your code didn't pass the test on the following string of characters:

Please correct (try number , limited to ).

ATTENTION! The length of your code is limited to characters not including spaces. And the score depends on the length. The shorter is the code, the higher is the score, up to a complete score if the length does not exceed .

The following names ARE NOT allowed in the code:

Reorder: Parity of position

a function which takes a string of characters , and [ ]

ERROR. Your code didn't give anything. Syntax error?
Your code didn't pass the test on the following string of characters:

Please correct (try number , limited to ).

ATTENTION! The length of your code is limited to characters not including spaces. And the score depends on the length. The shorter is the code, the higher is the score, up to a complete score if the length does not exceed .

The following names ARE NOT allowed in the code:

Reorder: Type of characters

a function which takes a string of characters , and [ ]

ERROR. Your code didn't give anything. Syntax error?
Your code didn't pass the test on the following string of characters:

Please correct (try number , limited to ).

ATTENTION! The length of your code is limited to characters not including spaces. And the score depends on the length. The shorter is the code, the higher is the score, up to a complete score if the length does not exceed .

The following names ARE NOT allowed in the code:

Transform: Positional modif.

a function which takes a string of characters , and [ ]

ERROR. Your code didn't give anything. Syntax error?
Your code didn't pass the test on the following string of characters:

Please correct (try number , limited to ).

ATTENTION! The length of your code is limited to characters not including spaces. And the score depends on the length. The shorter is the code, the higher is the score, up to a complete score if the length does not exceed .

The following names ARE NOT allowed in the code:

Characterize: Repeated characters

a function which takes a string of characters , and [ ]

ERROR. Your code didn't give anything. Syntax error?
Your code didn't pass the test on the following string of characters:

It gives , while the right result should be .

Please correct (try number , limited to ).

ATTENTION! The length of your code is limited to characters not including spaces. And the score depends on the length. The shorter is the code, the higher is the score, up to a complete score if the length does not exceed .

The following names ARE NOT allowed in the code:

Count: Repeated characters

a function which takes a string of characters , and [ ]

ERROR. Your code didn't give anything. Syntax error?
Your code didn't pass the test on the following string of characters:

It gives , while the right result should be .

Please correct (try number , limited to ).

ATTENTION! The length of your code is limited to characters not including spaces. And the score depends on the length. The shorter is the code, the higher is the score, up to a complete score if the length does not exceed .

The following names ARE NOT allowed in the code:

Reorder: Order reversal

a function which takes a string of characters , and [ ]

ERROR. Your code didn't give anything. Syntax error?
Your code didn't pass the test on the following string of characters:

Please correct (try number , limited to ).

ATTENTION! The length of your code is limited to characters not including spaces. And the score depends on the length. The shorter is the code, the higher is the score, up to a complete score if the length does not exceed .

The following names ARE NOT allowed in the code:

Reorder: Shift

a function which takes a string of characters , and [ ]

ERROR. Your code didn't give anything. Syntax error?
Your code didn't pass the test on the following string of characters:

Please correct (try number , limited to ).

ATTENTION! The length of your code is limited to characters not including spaces. And the score depends on the length. The shorter is the code, the higher is the score, up to a complete score if the length does not exceed .

The following names ARE NOT allowed in the code:

No title

a function which takes a string of characters , and [ ]

ERROR. Your code didn't give anything. Syntax error?
Your code didn't pass the test on the following string of characters:

Please correct (try number , limited to ).

ATTENTION! The length of your code is limited to characters not including spaces. And the score depends on the length. The shorter is the code, the higher is the score, up to a complete score if the length does not exceed .

The following names ARE NOT allowed in the code:

Reorder: Swap by marker I

a function which takes a string of characters , and [ ]

ERROR. Your code didn't give anything. Syntax error?
Your code didn't pass the test on the following string of characters:

Please correct (try number , limited to ).

ATTENTION! The length of your code is limited to characters not including spaces. And the score depends on the length. The shorter is the code, the higher is the score, up to a complete score if the length does not exceed .

The following names ARE NOT allowed in the code:

Reorder: Swap by marker II

a function which takes a string of characters , and [ ]

ERROR. Your code didn't give anything. Syntax error?
Your code didn't pass the test on the following string of characters:

Please correct (try number , limited to ).

ATTENTION! The length of your code is limited to characters not including spaces. And the score depends on the length. The shorter is the code, the higher is the score, up to a complete score if the length does not exceed .

The following names ARE NOT allowed in the code:

Transform: By table

a function which takes a string of characters , and [ ]

ERROR. Your code didn't give anything. Syntax error?
Your code didn't pass the test on the following string of characters:

Please correct (try number , limited to ).

ATTENTION! The length of your code is limited to characters not including spaces. And the score depends on the length. The shorter is the code, the higher is the score, up to a complete score if the length does not exceed .

The following names ARE NOT allowed in the code:

Cut: Trim

a function which takes a string of characters , and [ ]

ERROR. Your code didn't give anything. Syntax error?
Your code didn't pass the test on the following string of characters:

Please correct (try number , limited to ).

ATTENTION! The length of your code is limited to characters not including spaces. And the score depends on the length. The shorter is the code, the higher is the score, up to a complete score if the length does not exceed .

The following names ARE NOT allowed in the code:

Count: Type of characters I

a function which takes a string of characters , and [ ]

ERROR. Your code didn't give anything. Syntax error?
Your code didn't pass the test on the following string of characters:

It gives , while the right result should be .

Please correct (try number , limited to ).

ATTENTION! The length of your code is limited to characters not including spaces. And the score depends on the length. The shorter is the code, the higher is the score, up to a complete score if the length does not exceed .

The following names ARE NOT allowed in the code:

Count: Type of characters II

a function which takes a string of characters , and [ ]

ERROR. Your code didn't give anything. Syntax error?
Your code didn't pass the test on the following string of characters:

It gives , while the right result should be .

Please correct (try number , limited to ).

ATTENTION! The length of your code is limited to characters not including spaces. And the score depends on the length. The shorter is the code, the higher is the score, up to a complete score if the length does not exceed .

The following names ARE NOT allowed in the code:

Count: Characters per word

a function which takes a string of characters , and [ ]

ERROR. Your code didn't give anything. Syntax error?
Your code didn't pass the test on the following string of characters:

It gives , while the right result should be .

Please correct (try number , limited to ).

ATTENTION! The length of your code is limited to characters not including spaces. And the score depends on the length. The shorter is the code, the higher is the score, up to a complete score if the length does not exceed .

The following names ARE NOT allowed in the code:

Transform: Upper or lower case

a function which takes a string of characters , and [ ]

ERROR. Your code didn't give anything. Syntax error?
Your code didn't pass the test on the following string of characters:

Please correct (try number , limited to ).

ATTENTION! The length of your code is limited to characters not including spaces. And the score depends on the length. The shorter is the code, the higher is the score, up to a complete score if the length does not exceed .

The following names ARE NOT allowed in the code:

Count: Nombre de words

a function which takes a string of characters , and [ ]

ERROR. Your code didn't give anything. Syntax error?
Your code didn't pass the test on the following string of characters:

It gives , while the right result should be .

Please correct (try number , limited to ).

ATTENTION! The length of your code is limited to characters not including spaces. And the score depends on the length. The shorter is the code, the higher is the score, up to a complete score if the length does not exceed .

The following names ARE NOT allowed in the code:

Count: Number of words II

a function which takes a string of characters , and [ ]

ERROR. Your code didn't give anything. Syntax error?
Your code didn't pass the test on the following string of characters:

It gives , while the right result should be .

Please correct (try number , limited to ).

ATTENTION! The length of your code is limited to characters not including spaces. And the score depends on the length. The shorter is the code, the higher is the score, up to a complete score if the length does not exceed .

The following names ARE NOT allowed in the code:

Characterize: Min-Max of words

a function which takes a string of characters , and [ ]

ERROR. Your code didn't give anything. Syntax error?
Your code didn't pass the test on the following string of characters:

It gives , while the right result should be .

Please correct (try number , limited to ).

ATTENTION! The length of your code is limited to characters not including spaces. And the score depends on the length. The shorter is the code, the higher is the score, up to a complete score if the length does not exceed .

The following names ARE NOT allowed in the code:

Transform: Case exchange

a function which takes a string of characters , and [ ]

ERROR. Your code didn't give anything. Syntax error?
Your code didn't pass the test on the following string of characters:

Please correct (try number , limited to ).

ATTENTION! The length of your code is limited to characters not including spaces. And the score depends on the length. The shorter is the code, the higher is the score, up to a complete score if the length does not exceed .

The following names ARE NOT allowed in the code:

Transform: Exchange of letters

a function which takes a string of characters , and [ ]

ERROR. Your code didn't give anything. Syntax error?
Your code didn't pass the test on the following string of characters:

Please correct (try number , limited to ).

ATTENTION! The length of your code is limited to characters not including spaces. And the score depends on the length. The shorter is the code, the higher is the score, up to a complete score if the length does not exceed .

The following names ARE NOT allowed in the code:

In order to access WIMS services, you need a browser supporting forms. In order to test the browser you are using, please type the word wims here: and press Enter''.