Another way of string formatting:
 
load '~addons/format/printf/printf.ijs'
 
str =: 0 : 0
Hello %s,
Nice to meet you.
%s
)
 
str sprintf 'David';'2013.02.18'
 
Hello David,
Nice to meet you.
2013.02.18
 
 
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to