Sub Globals
'These global variables will be redeclared each time the activity is created.
'These variables can only be accessed from this module.
Private strOld = "jhfdjufah88" As String
Private sb As StringBuilder
End Sub
Sub Activity_Create(FirstTime As Boolean)
'Do not forget to load the layout file created with the visual designer. For example:
'Activity.LoadLayout("Layout1")
Log(NewString(strOld))
End Sub
Sub NewString(OldStr As String) As String
sb.Initialize
For i = 0 To OldStr.Length - 1
sb.Append(OldStr.CharAt(i))
If i < OldStr.Length - 1 Then sb.Append(" ")
Next
Return sb.ToString
End Sub