MI Using String Functions: Difference between revisions
Content deleted Content added
Ari Craven (talk | contribs) No edit summary |
Ari Craven (talk | contribs) No edit summary |
||
Line 9:
|align="center"|'''Chr$'''( num ) || Returns a character that corresponds to a character code (e.g. Chr$(65) returns the string "A").
|-
|align="center"|'''DeformatNumber$'''( str ) || Reverses the effect of the FormatNumber$ function, returning a string that does not include thousands separators.
|-
|align="center"|'''Format$'''( num , str ) || Returns a string representing a formatted number. Example: Format$( 12345.678, "$,#.##") returns "$12,345.68".
|-
|align="center"|'''FormatNumber$'''( num ) || Returns a string representing a formatted number. This function is simpler to use than Format$, but it gives you less control over formatting (e.g. you always get thousands separators).
|-
|align="center"|'''InStr'''( num , str1 , str2 ) || Searches the string str1 starting at character position num, and looks for an occurrence of the string str2. Returns the position where str2 was found, or zero if not found. To start search at beginning, use a num value of one (1).
|}
| |||