Category: tricks
Unfortunately, in LUA, there is no inbuilt string splitting function, which is very inconvenient. However, you could use string.gmatch to begin a regular expression matching and the following is a …
Given three integers a, b and c (all of them are 64 bit signed integers, to ), check if a + b > c. Since a + b can …
Python programming language provides a neat syntax to reverse a string, tuple (a read-only list, immutable) or a list (array). The syntax is var which returns a reverse copy of the var. …
Although I have already written three short tutorials on 6502 C Programming for NES, it is not yet the time to start something complex. C is a low-level programming …
Today, a friend asks me how to remove the unit from a column in Excel. The format of a column is like this 123.45 unit. The easiest way is …