[Jprogramming] Counting characters

'Bo Jacoby' via Programming programming at jsoftware.com
Wed Sep 14 05:36:22 UTC 2016


ts1 =. [:+/"1'abc'=/]
 

    Den 5:18 onsdag den 14. september 2016 skrev Henry Rich <henryhrich at gmail.com>:
 
 

 ts3 =: +/@:=~"0 _

'abc' ts3 'abcbdefbbcbaa'

3 5 2


Henry Rich

On 9/13/2016 11:13 PM, 'Pascal Jasmin' via Programming wrote:
> 'abc' ts2 'abcbdefbbcbaa'

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

 
   


More information about the Programming mailing list