Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
10
Task/Tokenize-a-string/J/tokenize-a-string-1.j
Normal file
10
Task/Tokenize-a-string/J/tokenize-a-string-1.j
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
s=: 'Hello,How,Are,You,Today'
|
||||
] t=: <;._1 ',',s
|
||||
+-----+---+---+---+-----+
|
||||
|Hello|How|Are|You|Today|
|
||||
+-----+---+---+---+-----+
|
||||
; t,&.>'.'
|
||||
Hello.How.Are.You.Today.
|
||||
|
||||
'.' (I.','=s)}s NB. two steps combined
|
||||
Hello.How.Are.You.Today
|
||||
Loading…
Add table
Add a link
Reference in a new issue