Jump to content



Photo

String library extentions


  • Please log in to reply
No replies to this topic

#1 andyswarbs

andyswarbs

    Wayfarer

  • Active Members
  • Pip
  • 57 posts

Posted 11 February 2006 - 02:09 AM

Attached File  PopG_String.au3   7.54K   216 downloads (16 downloads of previous builds)

#Region Doc:
#Region Doc: Notes
; Extends String functionality
; You may ask, "Why write _StringBegins when there is StringLeft?" The answer is that _StringBegins makes straighforward and frequent comparison easy and accessible.
; You are allowed to freely use this code without restriction.
#EndRegion Doc: Notes
#Region Doc: Function list
; _StringBegins Returns true if a string begins with the substring
; _StringInsert2 Extends StringInsert to be able to repeat the inserts at every n'th position.
; _StringInStrCount Returns the number of occurences of a subscrting
; _StringReplaceRepeat Extends StringReplace to repeatedly replace while more occurences are found.
; _StringShowCtrlChars Returns string with control characters replaced with a visual representation.
; _StringSplit2 Splits a string in two parts, separated by the specified delimeter.
#EndRegion Doc: Function list
#Region Doc: Requirements
; Requires Au3 build 3.1.1.109 or better
; Uses the array and string include libraries.
#EndRegion Doc: Requirements
#Region Doc: History
; 19-Feb-06 Als Added _StringBegins
; 18-Feb-06 Als Updated _StringShowCtrlChars and added optional args $Format, $Before and $After.
; 06-Feb-06 Als Added _StringInStrCount
; 16-Jan-06 Als Updated _StringSplit2: $OkLast functionality to added
#EndRegion Doc: History
#EndRegion Doc:

Edited by andyswarbs, 19 February 2006 - 11:56 PM.











0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users