search for: create_string

Displaying 3 results from an estimated 3 matches for "create_string".

2006 Mar 19
4
Trouble with composed_of
I''m trying to use composed_of within my model. I have a field in my database named ''card1'', which is simply a string. I have this in my model class Player < ActiveRecord::Base composed_of :card1, :class_name => ''Card'' end class Card attr_reader :value, :suit def initialize(s) @value = s[0].chr @suit = s[1].chr end end The
2009 Feb 20
1
How to transfer a list of space delimited character elements into a char vector?
My dear R-helpers: I am a novice in R and have the following text string manipulation question. Is there a function that performs the job described below? Say, wanted_output <- c("ab", "cd", "ef") #the function_wanted can generate c("ab", "cd", "ef") using ab cd ef as the single input argument wanted_output <- function_wanted(ab
2007 Aug 09
1
generating a GUID
I have a need to have a GUID (for example, bcd47ccc-d7c9-ddb6-dc11-6746a770d77d [36 characters long including the "-"]) generated in the dialplan. Is there any asterisk function that would do this ? I would prefer not to have to shell out every time a call comes in. Julian