![]() ![]() If you want to replace a substring with a string with different length, you might have a look at the gsub() function. The replacement needs to have the same number of characters as the replaced part of your data. ![]() Important Note for using substr() or substring() for string replacement: Someone mention use of negative index/zero.īoth are accepted by substr() and substring(). the stopping point 1) while substring function will extract several possible strings. If you apply substr function to several starting or stopping points, the function uses only the first entry (i.e. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |