Android Programming Press on the image to return to the main documentation page.

ICOSStrings

Written by Giuseppe Salvi

List of types:

ICOSStrings

ICOSStrings


This is an 'Activity Object', it cannot be declared under Sub Process_Globals.

Events:

None

Members:


  CalculatesVAT (Value As Int, Vat As Int) As Int

  ExtractVAT (Value As Int, Vat As Float) As Double

  Mid (text As String, value1 As Int, value2 As Int) As String

  StrLeft (text As String, value As Int) As String

  StrRight (text As String, value As Int) As String

  Version As Double  [read only]

Members description:

CalculatesVAT (Value As Int, Vat As Int) As Int
Dim s As ICOSString
Dim label1 As Label
Example:
Label1.text=s.CalculatesVAT(100,15)
Result is 115
ExtractVAT (Value As Int, Vat As Float) As Double
Dim s As ICOSString
Dim label1 As Label
Example:
Label1.text=s.ExtractVAT(100,15)
Result is 86.9565
Mid (text As String, value1 As Int, value2 As Int) As String
Dim s As ICOSString
Dim label1 As Label
Example:
Label1.text=s.Mid$("Hello Basic4Android" , 7 , 13)
"BasicAndroid"
StrLeft (text As String, value As Int) As String
Dim s As ICOSString
Dim label1 As Label
Example:
Label1.text=s.StrLeft$("Hello Basic4Android" , 5)
"Hello"
StrRight (text As String, value As Int) As String
Dim s As ICOSString
Dim label1 As Label
Example:
Label1.text=s.StrRight$("Hello Basic4Android" , 7)
"Android"
Version As Double  [read only]
Return the version of this library
Top