|
Oktatás * Programozás 1 * Szkriptnyelvek Teaching • Programming 1 (BI) Félévek Linkek * kalendárium |
Nim2 /
removePrefix, removeSuffixSee also std/strutils Python also has these two string methods. However, in Python, they return a new string object. In Nim, they modify the string in-place. If you want a Python-like behaviour, you can do that with a custom function. removePrefix()
removeSuffix()Can be done similarly to |
![]() Blogjaim, hobbi projektjeim * The Ubuntu Incident [ edit ] |
||||