3 ms·
To index from the end of the string. If you want the last 3 characters from a string, it's often easier to reverse the string and take the first 3.
by mprovost 6y ago
To index from the end of the string. If you want the last 3 characters from a string, it's often easier to reverse the string and take the first 3.
- saagarjha 6y agoMost languages that are good enough at doing Unicode are also modern enough to give you a “suffix” function.