
25
• Len() As Integer
• GetEntityEncode() As String
• Tokenize(delim As String) As Object
• Trim() As String
• ToInt() As Integer
• ToFloat() As Float
• Left(chars As Integer) As String
• Right(chars As Integer) As String
• Mid(start_index As Integer) As String
• Mid(start_index As Integer, chars As Integer) As String
• Instr(substring As String) As Integer
• Instr(start_index As Integer, substring As String) As Integer
Example:
BrightScript> o=CreateObject("roInt")
BrightScript> o.SetInt(555)
BrightScript> print o
555
BrightScript> print o.GetInt()
555
BrightScript> print o-55
500
Commentaires sur ces manuels