Advertisement
4_2005-2006 Debugging and Error Handling #160402

String to Array or Byte

Converts a string or an integer to an array of characters/bytes

AI

Tóm tắt bởi AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Mã nguồn
original-source
Function StringToArray(str_or_int)
 dim l, arr, i
 l = len(str_or_int)
 redim arr(l-1)
 for i = 0 to l-1
 arr(i) = mid(str_or_int,i+1,1)
 next
 StringToArray = arr
end function
Bình luận gốc (3)
Được khôi phục từ Wayback Machine