Documentation
¶
Index ¶
- Constants
- func AreEqual(s1, s2 *string) bool
- func FixSplit(myStrings []string) []string
- func FixSplitWhite(myStrings []string) []string
- func IsAllLower(value string) bool
- func IsAllNumber(str string) bool
- func IsAllNumbers(str ...string) bool
- func IsAllUpper(value string) bool
- func IsEmpty(s *string) bool
- func IsMixedCase(value string) bool
- func IsRuneNumber(r rune) bool
- func ParseConfig(value interface{}, filename string) error
- func Split(s string, separator ...string) []string
- func SplitN(s string, n int, separator ...string) []string
- func SplitSlice(s string, separator []string) []string
- func SplitSliceN(s string, separator []string, n int) []string
- func SplitSliceNWhite(s string, separator []string, n int) []string
- func SplitWhite(s string, separator ...string) []string
- func ToArray(strs ...string) []string
- func ToBase10(value int64) string
- func ToBase16(value int64) string
- func ToBase18(value int64) string
- func ToBase20(value int64) string
- func ToBase28(value int64) string
- func ToBase30(value int64) string
- func ToBase32(value int64) string
- func ToBool(str string) bool
- func ToInt16(value string) int16
- func ToInt32(value string) int32
- func ToInt64(value string) int64
- func ToInt8(value string) int8
- func ToStrSlice(qs []QString) []string
- func ToValidIntegerString(value string) string
- func YesOrNo(v bool) string
- type BasicObject
- type BitsBlocks
- type BytesObject
- type ExpiringValue
- type GenericList
- type IntegerRepresent
- type ListW
- func (l *ListW[T]) Add(elements ...T)
- func (l *ListW[T]) Append(elements ...T)
- func (l *ListW[T]) AsArray() []T
- func (l *ListW[T]) Change(index int, element T)
- func (l *ListW[T]) Clear()
- func (l *ListW[T]) Contains(element T) bool
- func (l *ListW[T]) ContainsAll(elements ...T) bool
- func (l *ListW[T]) ContainsOne(elements ...T) bool
- func (l *ListW[T]) Count(element T) int
- func (l *ListW[T]) Counts(element ...T) int
- func (l *ListW[T]) Exists(element T) bool
- func (l *ListW[T]) Find(element T) int
- func (l *ListW[T]) Get(index int) T
- func (l *ListW[T]) IsEmpty() bool
- func (l *ListW[T]) IsThreadSafe() bool
- func (l *ListW[T]) IsValid() bool
- func (l *ListW[T]) Length() int
- func (l *ListW[T]) Remove(element T)
- func (l *ListW[T]) RemoveAll(element ...T)
- func (l *ListW[T]) RemoveAt(index int)
- func (l *ListW[T]) RemoveOnce(element T)
- func (l *ListW[T]) ToArray() []T
- type QString
- type SafeEMap
- func (s *SafeEMap[TKey, TValue]) Add(key TKey, value *TValue)
- func (s *SafeEMap[TKey, TValue]) Clear()
- func (s *SafeEMap[TKey, TValue]) Delete(key TKey)
- func (s *SafeEMap[TKey, TValue]) DisableChecking()
- func (s *SafeEMap[TKey, TValue]) DoCheck()
- func (s *SafeEMap[TKey, TValue]) EnableChecking()
- func (s *SafeEMap[TKey, TValue]) Exists(key TKey) bool
- func (s *SafeEMap[TKey, TValue]) Get(key TKey) *TValue
- func (s *SafeEMap[TKey, TValue]) GetValue(key TKey) TValue
- func (s *SafeEMap[TKey, TValue]) HasValidTimings() bool
- func (s *SafeEMap[TKey, TValue]) IsChecking() bool
- func (s *SafeEMap[TKey, TValue]) IsEmpty() bool
- func (s *SafeEMap[TKey, TValue]) IsThreadSafe() bool
- func (s *SafeEMap[TKey, TValue]) IsValid() bool
- func (s *SafeEMap[TKey, TValue]) Length() int
- func (s *SafeEMap[TKey, TValue]) Set(key TKey, value any)
- func (s *SafeEMap[TKey, TValue]) SetDefault(value TValue)
- func (s *SafeEMap[TKey, TValue]) SetExpiration(duration time.Duration)
- func (s *SafeEMap[TKey, TValue]) SetInterval(duration time.Duration)
- func (s *SafeEMap[TKey, TValue]) SetOnExpired(event func(key TKey, value TValue))
- func (s *SafeEMap[TKey, TValue]) ToNormalMap() map[TKey]TValue
- type SafeMap
- func (s *SafeMap[TKey, TValue]) Add(key TKey, value *TValue)
- func (s *SafeMap[TKey, TValue]) Clear()
- func (s *SafeMap[TKey, TValue]) Delete(key TKey)
- func (s *SafeMap[TKey, TValue]) Exists(key TKey) bool
- func (s *SafeMap[TKey, TValue]) Get(key TKey) *TValue
- func (s *SafeMap[TKey, TValue]) GetValue(key TKey) TValue
- func (s *SafeMap[TKey, TValue]) IsEmpty() bool
- func (s *SafeMap[TKey, TValue]) IsThreadSafe() bool
- func (s *SafeMap[TKey, TValue]) IsValid() bool
- func (s *SafeMap[TKey, TValue]) Length() int
- func (s *SafeMap[TKey, TValue]) Set(key TKey, value any)
- func (s *SafeMap[TKey, TValue]) SetDefault(value TValue)
- func (s *SafeMap[TKey, TValue]) ToNormalMap() map[TKey]TValue
- type Serializer
- type SignatureContainer
- type StrongString
- func (s *StrongString) Contains(qs ...QString) bool
- func (s *StrongString) ContainsAll(qs ...QString) bool
- func (s *StrongString) ContainsStr(str ...string) bool
- func (s *StrongString) ContainsStrAll(str ...string) bool
- func (s *StrongString) GetIndexV(index int) rune
- func (s *StrongString) GetValue() string
- func (s *StrongString) HasPrefix(values ...string) bool
- func (s *StrongString) HasPrefixes(values ...string) bool
- func (s *StrongString) HasRunePrefix(values ...rune) bool
- func (s *StrongString) HasRunePrefixes(values ...rune) bool
- func (s *StrongString) HasSuffix(values ...string) bool
- func (s *StrongString) HasSuffixes(values ...string) bool
- func (s *StrongString) IsEmpty() bool
- func (s *StrongString) IsEqual(q QString) bool
- func (s *StrongString) Length() int
- func (s *StrongString) LockSpecial()
- func (s *StrongString) Replace(qs, newS QString) QString
- func (s *StrongString) ReplaceStr(qs, newS string) QString
- func (s *StrongString) Split(qs ...QString) []QString
- func (s *StrongString) SplitFirst(qs ...QString) []QString
- func (s *StrongString) SplitN(n int, qs ...QString) []QString
- func (s *StrongString) SplitStr(qs ...string) []QString
- func (s *StrongString) SplitStrFirst(qs ...string) []QString
- func (s *StrongString) SplitStrN(n int, qs ...string) []QString
- func (s *StrongString) ToBool() bool
- func (s *StrongString) ToQString() QString
- func (s *StrongString) Trim(qs ...QString) QString
- func (s *StrongString) TrimPrefix(qs ...QString) QString
- func (s *StrongString) TrimPrefixStr(qs ...string) QString
- func (s *StrongString) TrimStr(qs ...string) QString
- func (s *StrongString) TrimSuffix(qs ...QString) QString
- func (s *StrongString) TrimSuffixStr(qs ...string) QString
- func (s *StrongString) UnlockSpecial()
- type Validator
Constants ¶
const ( COMMAND_PREFIX1 = "!" COMMAND_PREFIX2 = "/" SUDO_PREFIX1 = ">" FLAG_PREFIX = "--" )
the prefix values for commands.
const ( JA_Flag = "〰\u200d;〰" JA_Str = "❞\u200d;" // start character (") for string in japanese. JA_Equality = "=\u200d;" // equal character (=) in japanese. JA_Ddot = ":\u200d;" // ddot character (:) in japanese. JA_Cama = "、\u200d;" // cama character (,) in japanese. JA_RealStr = "\uff4e" // the real str JA_BrOpen = "「\u200d;" // the real str JA_BrClose = "」\u200d;" // the real str BACK_Str = `\"` BACK_Flag = `\--` BACK_Equality = `\=` BACK_Ddot = `\:` BACK_Cama = `\,` BACK_BrOpen = `\[` BACK_BrClose = `\]` )
const ( BaseIndex = 0 // number 0 BaseOneIndex = 1 // number 1 BaseTwoIndex = 2 // number 2 BaseThreeIndex = 3 // number 2 Base4Bit = 4 // number 8 Base8Bit = 8 // number 8 Base16Bit = 16 // number 16 Base32Bit = 32 // number 32 Base64Bit = 64 // number 64 BaseTimeOut = 40 // 40 seconds BaseTen = 10 // 10 seconds )
the base constant values.
const ( BaseIndexStr = "0" // number 0 BaseOneIndexStr = "1" // number 1 DotStr = "." // dot : . LineStr = "-" // line : - EMPTY = "" //an empty string. UNDER = "_" // an underscope : _ STR_SIGN = `"` // the string sign : " CHAR_STR = '"' // the string sign : '"' )
additional constants which are not actually used in this package, but may be useful in another packages.
const ( APP_PORT = "PORT" GET_SLASH = "/" HTTP_ADDRESS = ":" FORMAT_VALUE = "%v" SPACE_VALUE = " " LineEscape = "\n" R_ESCAPE = "\r" SEMICOLON = ";" CAMA = "," ParaOpen = "(" ParaClose = ")" NullStr = "null" DoubleQ = "\"" SingleQ = "'" DoubleQJ = "”" BracketOpen = "[" Bracketclose = "]" Star = "*" BackSlash = "\\" DoubleBackSlash = "\\\\" Point = "." AutoStr = "auto" AtSign = "@" EqualStr = "=" DdotSign = ":" Yes = "Yes" No = "No" TrueStr = "True" FalseStr = "False" OnStr = "On" OffStr = "Off" LowerYes = "yes" LowerNo = "no" LowerTrueStr = "true" LowerFalseStr = "false" LowerOnStr = "on" LowerOffStr = "off" OrRegexp = "|" // the or string sign: "|" )
router config values
const ( LineChar = '-' // line : '-' EqualChar = '=' // equal: '=' SpaceChar = ' ' // space: ' ' DPointChar = ':' // double point: ':' BracketOpenChar = '[' // bracket open: '[' BracketcloseChar = ']' // bracket close: ']' CamaChar = ',' // cama: ',' )
const ( JA_FLAG = "〰〰" JA_STR = "❞" // start character (") for string in japanese. JA_EQUALITY = "=" // equal character (=) for string in japanese. JA_DDOT = ":" // equal character (=) for string in japanese. BACK_STR = "\\\"" BACK_FLAG = "\\--" BACK_EQUALITY = "\\=" BACK_DDOT = "\\:" )
const (
LIST_INDEX_NOTFOUND = -1
)
Variables ¶
This section is empty.
Functions ¶
func AreEqual ¶ added in v1.0.4
AreEqual will check if two string ptr are equal to each other or not.
func FixSplit ¶
FixSplit will fix the bullshit bug in the Split function (which is not ignoring the spaces between strings).
func FixSplitWhite ¶ added in v1.0.4
FixSplit will fix the bullshit bug in the Split function (which is not ignoring the spaces between strings).
func IsAllLower ¶ added in v1.0.12
func IsAllNumber ¶ added in v1.0.4
func IsAllNumbers ¶ added in v1.0.4
func IsAllUpper ¶ added in v1.0.12
func IsMixedCase ¶ added in v1.0.12
func IsRuneNumber ¶ added in v1.0.4
func ParseConfig ¶ added in v1.0.7
func SplitSlice ¶
func SplitSliceNWhite ¶ added in v1.0.4
func SplitWhite ¶ added in v1.0.4
SplitWhite splits the string with the given separator and will remove the white spaces slices from the results
func ToStrSlice ¶
func ToValidIntegerString ¶ added in v1.0.10
Types ¶
type BasicObject ¶ added in v1.0.13
type BitsBlocks ¶ added in v1.0.12
type BitsBlocks interface {
GetBitsSize() int
}
type BytesObject ¶ added in v1.0.12
type ExpiringValue ¶ added in v1.0.15
type ExpiringValue[T any] struct { // contains filtered or unexported fields }
func NewEValue ¶ added in v1.0.15
func NewEValue[T any](value T) *ExpiringValue[T]
func (*ExpiringValue[T]) GetTime ¶ added in v1.0.15
func (e *ExpiringValue[T]) GetTime() time.Time
func (*ExpiringValue[T]) GetValue ¶ added in v1.0.15
func (e *ExpiringValue[T]) GetValue() T
func (*ExpiringValue[T]) IsExpired ¶ added in v1.0.15
func (e *ExpiringValue[T]) IsExpired(duration time.Duration) bool
func (*ExpiringValue[T]) Reset ¶ added in v1.0.15
func (e *ExpiringValue[T]) Reset()
func (*ExpiringValue[T]) SetTime ¶ added in v1.0.15
func (e *ExpiringValue[T]) SetTime(t time.Time)
func (*ExpiringValue[T]) SetValue ¶ added in v1.0.15
func (e *ExpiringValue[T]) SetValue(value T)
type GenericList ¶ added in v1.0.13
type GenericList[T comparable] interface { BasicObject Validator Find(element T) int Count(element T) int Counts(element ...T) int Contains(element T) bool ContainsAll(elements ...T) bool ContainsOne(elements ...T) bool Change(index int, element T) Exists(element T) bool Append(elements ...T) Add(elements ...T) RemoveAt(index int) RemoveOnce(element T) RemoveAll(element ...T) Remove(element T) AsArray() []T ToArray() []T Clear() Get(index int) T }
func GetEmptyList ¶ added in v1.0.13
func GetEmptyList[T comparable]() GenericList[T]
func GetListFromArray ¶ added in v1.0.13
func GetListFromArray[T comparable](array []T) GenericList[T]
type IntegerRepresent ¶ added in v1.0.12
type ListW ¶ added in v1.0.13
type ListW[T comparable] struct { // contains filtered or unexported fields }
func (*ListW[T]) AsArray ¶ added in v1.0.13
func (l *ListW[T]) AsArray() []T
AsArray returns a copy of the value of this list as an array. please do notice that if you make changes to the underlying values of that array, change won't be applied to the list.
func (*ListW[T]) Clear ¶ added in v1.0.13
func (l *ListW[T]) Clear()
Clear method clears the whole list.
func (*ListW[T]) ContainsAll ¶ added in v1.0.13
func (*ListW[T]) ContainsOne ¶ added in v1.0.13
func (*ListW[T]) IsThreadSafe ¶ added in v1.0.13
func (*ListW[T]) RemoveOnce ¶ added in v1.0.13
func (l *ListW[T]) RemoveOnce(element T)
func (*ListW[T]) ToArray ¶ added in v1.0.14
func (l *ListW[T]) ToArray() []T
ToArray is equivalent to AsArray method in any way. it returns a copy of the value of this list as an array. please do notice that if you make changes to the underlying values of that array, change won't be applied to the list.
type QString ¶ added in v1.0.4
type QString interface { BasicObject GetValue() string GetIndexV(int) rune IsEqual(QString) bool Split(...QString) []QString SplitN(int, ...QString) []QString SplitFirst(qs ...QString) []QString SplitStr(...string) []QString SplitStrN(int, ...string) []QString SplitStrFirst(...string) []QString Contains(...QString) bool ContainsStr(...string) bool ContainsAll(...QString) bool ContainsStrAll(...string) bool TrimPrefix(...QString) QString TrimPrefixStr(...string) QString TrimSuffix(...QString) QString TrimSuffixStr(...string) QString Trim(qs ...QString) QString TrimStr(...string) QString Replace(qs, newS QString) QString ReplaceStr(qs, newS string) QString LockSpecial() UnlockSpecial() ToBool() bool }
type SafeEMap ¶ added in v1.0.15
type SafeEMap[TKey comparable, TValue any] struct { // contains filtered or unexported fields }
SafeEMap is a safe map of type TIndex to pointers of type TValue. this map is completely thread safe and is using internal lock when getting and setting variables. the difference of SafeEMap and SafeMap is that SafeEMap is using a checker loop for removing the expired values from itself.
func NewSafeEMap ¶ added in v1.0.15
func NewSafeEMap[TKey comparable, TValue any]() *SafeEMap[TKey, TValue]
func (*SafeEMap[TKey, TValue]) Add ¶ added in v1.0.15
func (s *SafeEMap[TKey, TValue]) Add(key TKey, value *TValue)
func (*SafeEMap[TKey, TValue]) Clear ¶ added in v1.0.15
func (s *SafeEMap[TKey, TValue]) Clear()
Clear will clear the whole map.
func (*SafeEMap[TKey, TValue]) Delete ¶ added in v1.0.15
func (s *SafeEMap[TKey, TValue]) Delete(key TKey)
func (*SafeEMap[TKey, TValue]) DisableChecking ¶ added in v1.0.15
func (s *SafeEMap[TKey, TValue]) DisableChecking()
func (*SafeEMap[TKey, TValue]) DoCheck ¶ added in v1.0.19
func (s *SafeEMap[TKey, TValue]) DoCheck()
DoCheck iterates over the map and checks for expired variables and removes them. if the `onExpired` member of the map is set, it will call them.
func (*SafeEMap[TKey, TValue]) EnableChecking ¶ added in v1.0.15
func (s *SafeEMap[TKey, TValue]) EnableChecking()
func (*SafeEMap[TKey, TValue]) Get ¶ added in v1.0.15
func (s *SafeEMap[TKey, TValue]) Get(key TKey) *TValue
func (*SafeEMap[TKey, TValue]) GetValue ¶ added in v1.0.15
func (s *SafeEMap[TKey, TValue]) GetValue(key TKey) TValue
func (*SafeEMap[TKey, TValue]) HasValidTimings ¶ added in v1.0.15
func (*SafeEMap[TKey, TValue]) IsChecking ¶ added in v1.0.15
func (*SafeEMap[TKey, TValue]) IsThreadSafe ¶ added in v1.0.15
func (*SafeEMap[TKey, TValue]) Set ¶ added in v1.0.15
Set function sets the key of type TKey in this safe map to the value. the value should be of type TValue or *TValue, otherwise this function won't do anything at all.
func (*SafeEMap[TKey, TValue]) SetDefault ¶ added in v1.0.15
func (s *SafeEMap[TKey, TValue]) SetDefault(value TValue)
func (*SafeEMap[TKey, TValue]) SetExpiration ¶ added in v1.0.15
func (*SafeEMap[TKey, TValue]) SetInterval ¶ added in v1.0.16
func (*SafeEMap[TKey, TValue]) SetOnExpired ¶ added in v1.0.17
func (s *SafeEMap[TKey, TValue]) SetOnExpired(event func(key TKey, value TValue))
func (*SafeEMap[TKey, TValue]) ToNormalMap ¶ added in v1.0.15
func (s *SafeEMap[TKey, TValue]) ToNormalMap() map[TKey]TValue
type SafeMap ¶ added in v1.0.13
type SafeMap[TKey comparable, TValue any] struct { // contains filtered or unexported fields }
SafeMap is a safe map of type TIndex to pointers of type TValue. this map is completely thread safe and is using internal lock when getting and setting variables.
func NewSafeMap ¶ added in v1.0.15
func NewSafeMap[TKey comparable, TValue any]() *SafeMap[TKey, TValue]
func (*SafeMap[TKey, TValue]) Add ¶ added in v1.0.13
func (s *SafeMap[TKey, TValue]) Add(key TKey, value *TValue)
func (*SafeMap[TKey, TValue]) Clear ¶ added in v1.0.14
func (s *SafeMap[TKey, TValue]) Clear()
Clear will clear the whole map.
func (*SafeMap[TKey, TValue]) Delete ¶ added in v1.0.13
func (s *SafeMap[TKey, TValue]) Delete(key TKey)
func (*SafeMap[TKey, TValue]) Get ¶ added in v1.0.13
func (s *SafeMap[TKey, TValue]) Get(key TKey) *TValue
func (*SafeMap[TKey, TValue]) GetValue ¶ added in v1.0.13
func (s *SafeMap[TKey, TValue]) GetValue(key TKey) TValue
func (*SafeMap[TKey, TValue]) IsThreadSafe ¶ added in v1.0.14
func (*SafeMap[TKey, TValue]) Set ¶ added in v1.0.13
Set function sets the key of type TKey in this safe map to the value. the value should be of type TValue or *TValue, otherwise this function won't do anything at all.
func (*SafeMap[TKey, TValue]) SetDefault ¶ added in v1.0.13
func (s *SafeMap[TKey, TValue]) SetDefault(value TValue)
func (*SafeMap[TKey, TValue]) ToNormalMap ¶ added in v1.0.14
func (s *SafeMap[TKey, TValue]) ToNormalMap() map[TKey]TValue
type Serializer ¶ added in v1.0.11
type SignatureContainer ¶ added in v1.0.11
type StrongString ¶
type StrongString struct {
// contains filtered or unexported fields
}
the StrongString used in the program for additional usage.
func Sb ¶
func Sb(b []byte) StrongString
Sb will generate a new StrongString with the specified non-encoded bytes value.
func Ss ¶
func Ss(s string) StrongString
Ss will generate a new StrongString with the specified non-encoded string value.
func SsPtr ¶
func SsPtr(s string) *StrongString
SS will generate a new StrongString with the specified non-encoded string value.
func (*StrongString) Contains ¶
func (s *StrongString) Contains(qs ...QString) bool
func (*StrongString) ContainsAll ¶
func (s *StrongString) ContainsAll(qs ...QString) bool
func (*StrongString) ContainsStr ¶
func (s *StrongString) ContainsStr(str ...string) bool
func (*StrongString) ContainsStrAll ¶
func (s *StrongString) ContainsStrAll(str ...string) bool
func (*StrongString) GetIndexV ¶
func (s *StrongString) GetIndexV(index int) rune
GetIndexV method will give you the rune in index. if the passed-by `index` is out of range, it will return zero index of the value.
func (*StrongString) GetValue ¶
func (s *StrongString) GetValue() string
GetValue will give you the real value of this StrongString.
func (*StrongString) HasPrefix ¶
func (s *StrongString) HasPrefix(values ...string) bool
HasPrefix will check if at least there is one prefix is presents in this StrongString or not. the StrongString should starts with at least one of these prefixes.
func (*StrongString) HasPrefixes ¶
func (s *StrongString) HasPrefixes(values ...string) bool
HasPrefixes will check if all of the prefixes are present in this StrongString or not. the StrongString should starts with all of these suffixes. usage of this method is not recommended, since you can use HasSuffix method with only one string (the longest string). this way you will just use too much cpu resources.
func (*StrongString) HasRunePrefix ¶ added in v1.0.6
func (s *StrongString) HasRunePrefix(values ...rune) bool
HasRunePrefix will check if at least there is one prefix is presents in this StrongString or not. the StrongString should starts with at least one of these prefixes.
func (*StrongString) HasRunePrefixes ¶ added in v1.0.6
func (s *StrongString) HasRunePrefixes(values ...rune) bool
HasRunePrefixes will check if all of the prefixes are present in this StrongString or not. the StrongString should starts with all of these suffixes. usage of this method is not recommended, since you can use HasSuffix method with only one string (the longest string). this way you will just use too much cpu resources.
func (*StrongString) HasSuffix ¶
func (s *StrongString) HasSuffix(values ...string) bool
HasSuffix will check if at least there is one suffix is presents in this StrongString not. the StrongString should ends with at least one of these suffixes.
func (*StrongString) HasSuffixes ¶
func (s *StrongString) HasSuffixes(values ...string) bool
HasSuffixes will check if all of the suffixes are present in this StrongString or not. the StrongString should ends with all of these suffixes. usage of this method is not recommended, since you can use HasSuffix method with only one string (the longest string). this way you will just use too much cpu resources.
func (*StrongString) IsEmpty ¶
func (s *StrongString) IsEmpty() bool
isEmpty will check if this StrongString is empty or not.
func (*StrongString) IsEqual ¶
func (s *StrongString) IsEqual(q QString) bool
isEqual will check if the passed-by-value in the arg is equal to this StrongString or not.
func (*StrongString) Length ¶
func (s *StrongString) Length() int
length method, will give you the length-as-int of this StrongString.
func (*StrongString) LockSpecial ¶
func (s *StrongString) LockSpecial()
LockSpecial will lock all the defined special characters. This way, you don't actually have to be worry about some normal mistakes in spliting strings, cut them out, check them. join them, etc... WARNING: this method is so dangerous, it's really dangerous. we can't say that it's unsafe actually, but still it's really dangerous, so if you don't know what the fuck are you doing, then please don't use this method. this method will not return you a new value, it will effect the current value. please consider using it carefully.
func (*StrongString) Replace ¶
func (s *StrongString) Replace(qs, newS QString) QString
func (*StrongString) ReplaceStr ¶
func (s *StrongString) ReplaceStr(qs, newS string) QString
func (*StrongString) Split ¶
func (s *StrongString) Split(qs ...QString) []QString
func (*StrongString) SplitFirst ¶
func (s *StrongString) SplitFirst(qs ...QString) []QString
func (*StrongString) SplitStr ¶
func (s *StrongString) SplitStr(qs ...string) []QString
func (*StrongString) SplitStrFirst ¶
func (s *StrongString) SplitStrFirst(qs ...string) []QString
func (*StrongString) ToBool ¶ added in v1.0.5
func (s *StrongString) ToBool() bool
func (*StrongString) ToQString ¶
func (s *StrongString) ToQString() QString
func (*StrongString) Trim ¶
func (s *StrongString) Trim(qs ...QString) QString
func (*StrongString) TrimPrefix ¶
func (s *StrongString) TrimPrefix(qs ...QString) QString
func (*StrongString) TrimPrefixStr ¶
func (s *StrongString) TrimPrefixStr(qs ...string) QString
func (*StrongString) TrimStr ¶
func (s *StrongString) TrimStr(qs ...string) QString
func (*StrongString) TrimSuffix ¶
func (s *StrongString) TrimSuffix(qs ...QString) QString
func (*StrongString) TrimSuffixStr ¶
func (s *StrongString) TrimSuffixStr(qs ...string) QString
func (*StrongString) UnlockSpecial ¶
func (s *StrongString) UnlockSpecial()
UnlockSpecial will unlock all the defiend special characters. it will return them to their normal form.