Advertisement
2002ASP Debugging and Error Handling #7646

String to Array or Byte

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

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.

كود المصدر
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
التعليقات الأصلية (3)
مسترجع من Wayback Machine