Re: Simple String question
- To: mathgroup at smc.vnet.net
- Subject: [mg110760] Re: Simple String question
- From: Murta <rodrigomurtax at gmail.com>
- Date: Mon, 5 Jul 2010 06:02:03 -0400 (EDT)
- References: <i0k2ft$jra$1@smc.vnet.net> <i0n9sg$hqg$1@smc.vnet.net>
Well... there is my contribution.. str="623 715 812"; FromDigits/@Sort/@IntegerDigits/@ToExpression@StringSplit[str]//Sort {128,157,236} Another option to read de string is use that.. str="623 715 812"; FromDigits/@Sort/@IntegerDigits/@ImportString[str,"Table"][[1]]//Sort {128,157,236} Rodrigo Murta