String Functions In Corona

Posted by Unknown Sabtu, 02 November 2013 0 komentar
Here is a list of string function which are very useful...

string.byte() Returns the internal numerical codes of the characters in a string.
string.char()Returns a string in which each character has the internal numerical code equal to its corresponding argument.
string.find() Looks for the first match of a pattern in a string. If found, it returns the indices where the occurrence starts and ends; otherwise, returns nil.
string.format()Returns a formatted string following the description given in its arguments.
string.gmatch()Returns a pattern-finding iterator.
string.gsub()Replaces all occurrences of a pattern in a string.
string.len()Returns the length of a string (number of characters).
string.lower()Changes uppercase characters in a string to lowercase.
string.match()Extracts substrings by matching patterns in a string.
string.rep()Replicates a string by returning a string that is the concatenation of n copies of a specified string.
string.reverse()Reverses a string.
string.sub()Returns a substring (a specified portion of an existing string).
string.upper()Changes lowercase characters in a string to uppercase.
TERIMA KASIH ATAS KUNJUNGAN SAUDARA
Judul: String Functions In Corona
Ditulis oleh Unknown
Rating Blog 5 dari 5
Semoga artikel ini bermanfaat bagi saudara. Jika ingin mengutip, baik itu sebagian atau keseluruhan dari isi artikel ini harap menyertakan link dofollow ke http://androidpopuler.blogspot.com/2013/11/string-functions-in-corona.html. Terima kasih sudah singgah membaca artikel ini.

0 komentar:

Posting Komentar

Trik SEO Terbaru support Online Shop Baju Wanita - Original design by Bamz | Copyright of android populer.