C# 클래스 Iaik.Utils.StringHelper

Static class which provides some string helper methods
파일 보기 프로젝트 열기: areiter/InMemoryFuzzing

공개 메소드들

메소드 설명
IndentPerLine ( string src, string indention ) : string

Intends each line of the source string by the specified indention string

ReplaceVariables ( string expression, VariableDetectedCB cb ) : string

Looks for {[..]} constructions in the specified expression, and calls the callback for each of them replacing its occurance with the return value of the callback

SplitToKeyValue ( string s, string delimiter ) : string>?.KeyValuePair

Splits the specified string by the specified delimiter into key[delimiter]value

StringToUInt64 ( string val ) : System.UInt64

메소드 상세

IndentPerLine() 공개 정적인 메소드

Intends each line of the source string by the specified indention string
public static IndentPerLine ( string src, string indention ) : string
src string
indention string
리턴 string

ReplaceVariables() 공개 정적인 메소드

Looks for {[..]} constructions in the specified expression, and calls the callback for each of them replacing its occurance with the return value of the callback
public static ReplaceVariables ( string expression, VariableDetectedCB cb ) : string
expression string
cb VariableDetectedCB
리턴 string

SplitToKeyValue() 공개 정적인 메소드

Splits the specified string by the specified delimiter into key[delimiter]value
public static SplitToKeyValue ( string s, string delimiter ) : string>?.KeyValuePair
s string
delimiter string
리턴 string>?.KeyValuePair

StringToUInt64() 공개 정적인 메소드

public static StringToUInt64 ( string val ) : System.UInt64
val string
리턴 System.UInt64