Returns a string of spaces. The number returned is set by HowMany.
Returns a String with all the Characters and their ASCII codes.
At (YourStringAsString, SearchForAsString) AsInt
Returns the position of the SearchFor within YourString.
CurrentWeek (MyDateAsString) AsInt
Returns the number of the current week, 1-52 from the date passed to MyDate.
DayOfMonth (MyDateAsString) AsInt
Returns the day of the month like 1-31, from the date passed to MyDate.
Decrypt (YourTextAsString) AsString
Converts an encrypted string of text to readable format.
Returns the last response from MsgBox2 selection. It differs from B4A in that the Text of the buttons will be returned. If you set the buttons to: [Yes] [Cancel] [No], it will return: Yes, Cancel or No, just like the text labels In the buttons.
Example: Dim MyAnswer = MsgBox2("Delete File?", "WARNING", "Yes", "No", "", Null) As String
If you press the Yes button, MyAnswer will = "Yes"
If MyAnswer = "Yes" Then 'Delete File Here... End If
Empty (StringTextAsString) AsBoolean
Test to see if the string is empty and returns True if it is, otherwise returns False.
Encrypt (YourTextAsString) AsString
Converts a string of text to simple encryption.
FileExist (PathAndFileNameAsString) AsBoolean
Returns True if the filename passed does exist, otherwise returns False. Be sure to include the path like:
If FileExist("/mnt/sdcard/mydata.dat") Then MsgBox("Yes", "The Answer")
Returns a string of ramdom characters with a length specified by StringLength. CharacterType tells the function what type of characters to return. CharacterType = 0 for Upper and Lower case CharacterType = 1 for Upper case only CharacterType = 2 for Lower case only
Rtrim (StringTextAsString) AsString
Returns a new string with the trailing spaces removed.