comparison runtime/doc/usr_41.txt @ 32367:d5e673b941cd v9.0.1515

patch 9.0.1515: reverse() does not work for a String Commit: https://github.com/vim/vim/commit/03ff1c2dde7f15eca5c9baa6dafbda9b49bedc3b Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Sat May 6 14:08:21 2023 +0100 patch 9.0.1515: reverse() does not work for a String Problem: reverse() does not work for a String. Solution: Implement reverse() for a String. (Yegappan Lakshmanan, closes #12179)
author Bram Moolenaar <Bram@vim.org>
date Sat, 06 May 2023 15:15:04 +0200
parents 8d6f53a07ffd
children 2a17771529af
comparison
equal deleted inserted replaced
32366:287ec2a43c19 32367:d5e673b941cd
757 strutf16len() number of UTF-16 code units in a string 757 strutf16len() number of UTF-16 code units in a string
758 strwidth() size of string when displayed 758 strwidth() size of string when displayed
759 strdisplaywidth() size of string when displayed, deals with tabs 759 strdisplaywidth() size of string when displayed, deals with tabs
760 setcellwidths() set character cell width overrides 760 setcellwidths() set character cell width overrides
761 getcellwidths() get character cell width overrides 761 getcellwidths() get character cell width overrides
762 reverse() reverse the order of characters in a string
762 substitute() substitute a pattern match with a string 763 substitute() substitute a pattern match with a string
763 submatch() get a specific match in ":s" and substitute() 764 submatch() get a specific match in ":s" and substitute()
764 strpart() get part of a string using byte index 765 strpart() get part of a string using byte index
765 strcharpart() get part of a string using char index 766 strcharpart() get part of a string using char index
766 slice() take a slice of a string, using char index in 767 slice() take a slice of a string, using char index in
795 map() change each List item 796 map() change each List item
796 mapnew() make a new List with changed items 797 mapnew() make a new List with changed items
797 reduce() reduce a List to a value 798 reduce() reduce a List to a value
798 slice() take a slice of a List 799 slice() take a slice of a List
799 sort() sort a List 800 sort() sort a List
800 reverse() reverse the order of a List or Blob 801 reverse() reverse the order of items in a List
801 uniq() remove copies of repeated adjacent items 802 uniq() remove copies of repeated adjacent items
802 split() split a String into a List 803 split() split a String into a List
803 join() join List items into a String 804 join() join List items into a String
804 range() return a List with a sequence of numbers 805 range() return a List with a sequence of numbers
805 string() String representation of a List 806 string() String representation of a List
862 isnan() check for not a number 863 isnan() check for not a number
863 864
864 Blob manipulation: *blob-functions* 865 Blob manipulation: *blob-functions*
865 blob2list() get a list of numbers from a blob 866 blob2list() get a list of numbers from a blob
866 list2blob() get a blob from a list of numbers 867 list2blob() get a blob from a list of numbers
868 reverse() reverse the order of numbers in a blob
867 869
868 Other computation: *bitwise-function* 870 Other computation: *bitwise-function*
869 and() bitwise AND 871 and() bitwise AND
870 invert() bitwise invert 872 invert() bitwise invert
871 or() bitwise OR 873 or() bitwise OR