powered by
Create a string in MiniZinc
rminizinc::Expression -> String
rminizinc::Expression
String
.value
string value
String$new()
String$getV()
String$setV()
String$c_str()
String$clone()
new()
constructor
String$new(val)
val
string input
getV()
get value
setV()
set value
String$setV(val)
c_str()
get the MiniZinc representation
clone()
The objects of this class are cloneable with this method.
String$clone(deep = FALSE)
deep
Whether to make a deep clone.
# NOT RUN { newString = String$new("example") newString$c_str() newString$setV("new example") newString$c_str() # }
Run the code above in your browser using DataLab