Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

20
LINES

< > BotCompany Repo | #1002758 // Considering Strings

Document

// start

if       [User < says < consider < this < string < S]
forget   [current < string < is < *]
memorize [current < string < is < S]
assume   [[the > length < of < string < S] < is < L < characters]
say      [[ok] [it has < L < characters]]

//

if       [User < says < how < long < is < it]
and      [current < string < is < S]
assume   [[the > length < of < string < S] < is < L < characters]
say      [[the > string] < has < L < characters]

//

if       [User < says < show < string]
and      [current < string < is < S]
say      [here < it < is < : < S]

download  show line numbers   

Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1002758
Snippet name: Considering Strings
Eternal ID of this version: #1002758/1
Text MD5: 2e4cafd0f1d6fee4ded160c64233dcae
Author: stefan
Category: javax
Type: Document
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-02-20 20:49:40
Source code size: 584 bytes / 20 lines
Pitched / IR pitched: No / No
Views / Downloads: 570 / 424
Referenced in: [show references]