haven't even peeked into the docs, have you?
try:
strsplit(String, ".", fixed=TRUE)
strsplit(String, "[.]")
vQ
Kurapati, Ravichandra (Ravichandra) wrote:
> Hi
>
>
>
> String<-"130.5"
>
>
>
> Df<-Strsplit(".",":",String)
>
>
>
> Then Df get
>
>"" "" "" ""
>
>
On Thu, 2008-07-17 at 17:56 +0530, Kurapati, Ravichandra (Ravichandra)
wrote:
> Hi
>
>
>
> String<-"130.5"
>
>
>
> Df<-Strsplit(".",":",String)
>
>
>
> Then Df get
>
>"" "" "" ""
>
> But I want Df should contains
>
>
>
>Df
>
> "130"
>
> "5"
Hi
String<-"130.5"
Df<-Strsplit(".",":",String)
Then Df get
"" "" "" ""
But I want Df should contains
Df
"130"
"5"
If any body knows how to do it.tel me
Thanks
K.Ravichandra
[[alternative HTML version deleted]]
___
3 matches
Mail list logo